CLI Magic: Daily aliases
http://enterprise.linux.com/enterprise/ ... =13&tid=89
Monday December 12, 2005 (08:01 AM GMT)
By: Keith Winston
If you spend any time working at the shell, you probably use many GNU utilities. One thing that distinguishes the GNU versions from the classic Unix versions is that the GNU programs are rife with additional options. Some of these options are so useful you may want to create an alias so you can use them all the time without needing to do all the extra typing.
A shell alias is a simple way to create your own custom command. To make your aliases available every time you open a bash shell, add them to your $HOME/.bashrc file. For other shells, place them in the associated run control file. Many distributions include a basic set of aliases for all users. When I start working on a new system or get a new account, I immediately add my favorite aliases to my .bashrc.
To create an alias, use the syntax alias name='value' where name is the name of the new command and value is the command string that is executed. If you create an alias with the same name as an existing executable program in your path, the shell will run the alias instead of the program.
To remove an alias from your current shell session, use unalias name where name is the existing alias.
To see all the current aliases known to your shell, run alias with no parameters.
read more at the above link.... pretty good article.
Not overly complex, but some interesting alias's shown there.... especially the one for ps and SELinux security context.