Powered by Blogger.

Thursday, January 28, 2010

The Alias

We introduce a command with an alias, and the shell will recode it with its value. For example, whether we define an alias this way: alias buscar=”find. -name”, when we input commands in the line buscar name_file the shell will execute find. -name name_file and will seek the file we ask starting in the current path.
Alias name_of_the_alias="command_which_will_execute_the_alias".

To disable an alias use the command
unalias: unalias name_of_de_alias.

If you want to see the alias defined in the system just write: alias.

0 comments

Post a Comment