Friday, March 1, 2013

ll as an alias to ls -lrt

Ok from my recent experience working on AIX servers, it was always handy to do an ll, an abbreviation of the 'ls -lrt' command.

It is very easy to create an alias of a command as something else:
alias ll="ls -l"
Remember not to leave any spaces (maybe even do single quote instead of double quotes). It could also be more useful to put aliases in .bash_aliases file and keep your .bashrc cleaner.