Skip to content

Instantly share code, notes, and snippets.

View balaramr's full-sized avatar

Bala balaramr

View GitHub Profile
@balaramr
balaramr / osx_setup.md
Created June 20, 2019 06:22 — forked from millermedeiros/osx_setup.md
Mac OS X setup

Setup Mac OS X

Edit: I've done the same process every couple years since 2013 (Mountain Lion, Mavericks and High Sierra).

I just replaced the hard drive of my mbp and decided to do a clean install of Mountain Lion (10.8.5) since I was still using Snow Leopard (10.6.8).

I kinda regret for not using Boxen to automate the process, but TBH I have this laptop for almost 3yrs and this is the first

#!/bin/bash
#title :thershold_alert.sh
#description :Send Mail to Disk Thershold
#author :Balaram R
#date :20150528
#version :0.1
#usage :./thershold_alert.sh
#===============================================================================
#
@balaramr
balaramr / remove-line.sh
Last active August 29, 2015 14:20
Login to remote machine and delete the matching string
#!/bin/bash
#title :remove-line.sh
#description :This scrpit will login to remote machine and delete the matching string ">="
#author :Balaram R
#date :20150528
#version :0.1
#usage :bash remove-line.sh
#===============================================================================
#
@balaramr
balaramr / check_lsof.sh
Last active February 28, 2020 15:40
This script will help to check files opened in Linux.
#!/bin/bash
#title :check_lsof.sh
#description :Check LSOF to linux machine.
#author :Balaram R
#date :20150528
#version :0.1
#usage :.check_lsof.sh hostname
#===============================================================================
#
@balaramr
balaramr / system-serial-number.sh
Last active August 29, 2015 14:19
Find out the serial number from remote machine
#!/bin/bash
#title :system-serial-number.sh
#description :Find the serial number of remote linux machine.
#author :Balaram R
#date :20150528
#version :0.1
#usage :./system-serial-number.sh hostname
#===============================================================================
#