Tuesday, July 20, 2010

alias

Hi All,

Its been pretty long since writing a post.

alias is the command of my post tonight.

alias allows a key to be used as an alternative for a command. Example for the command cat - I can use "ca" as the alias. See below usage:

alias ca='cat a.txt'

This above command would print the contents of a.txt

To un-alias, issue the command "unalias".

To  un-alias all aliases, issue the command "unalias -a"

Thanks & Regards,
Ananth S Gouri

No comments:

Post a Comment