Enchanted Bashmarks - terminal directory bookmarks
Posted on January 14, 2012 in Unix
Bashmarks is a shell script that allows you to save and jump to commonly used directories.
Using sed
Posted on October 09, 2011 in Unix
Useful sed commands Delete nth line inplace sed -i .tmp '<n>d' <filename> Get the nth line sed '<n>q;d' <filename> Delete the first 10 lines of a file sed '1,10d' Delete lines matching pattern sed '/pattern/d'
ls colours
Posted on September 10, 2011 in OSX
To get ls colours on a mac add the follow to your .bash_profile. export CLICOLOR=1 export LSCOLORS=ExFxCxDxbxegedabagacad