Linux.com

"Aliases" with parameters

Posted by: Anonymous Coward on December 13, 2005 05:44 PM
In csh and tcsh shells one can use aliases with parameters, using !:* for all parameters, !:1 for forst, !:2 for second parameter etc. Usually though shell functions are preferred for shortcuts with parameters; in bash it is the only way.

--
Jakub Narebski

#

Return to CLI Magic: Daily aliases