Wednesday, December 19, 2012

30 Aliases

Man, I added a bunch of these already: http://www.cyberciti.biz/tips/bash-aliases-mac-centos-linux-unix.html

I also discovered the column command from this, to format things into columns, for instance:

mount | column -t
I also found from the comments on this page that BASH has functions that can be used like aliases:

function f {
 arg_path=$1 && shift
 find $arg_path -wholename "*/path-to-ignore/*" -prune -o $* -print
}
Can be called with
~$ f

No comments:

Post a Comment