Every time We write some command on the terminal like poweroff,or mplayer or some other long command, We have to hit a lot of keys. And this really is time consuming. Although auto-completion of commands is really useful but I guess We have to be much more efficient. Well the solution to this problem is aliasing commands.
In gnulinux or other UNIX like environment you have a .bashrc shell script in your home directory. Every time you open a new terminal or new terminal tab this script executes and sets some environment variables for current terminal or terminal tab opened.
Lets alias a command say clear to just c.
1. open the .bashrc file using your favorite text editor.
2.Go to the end of the file and type following line.
3.save the file.
Now to check if it really worked open a new tab into your termianl and spread some mess on the termianl screen say
WoW it worked.
aliasing long commands is really very good but the real exploitation of
aliasis when you use it for most frequently typed commands by you.
Following are the commands which I have aliased. Tell me if also have some more aliases up your sleeve.