The alias command allows you to define shortcuts to save yourself time. In a sense, alias creates a link between a requested set of keystrokes and another set of keystrokes. For example, to use the rm command in interactive mode I would type
rm -i
By typing
alias rm 'rm -i'
the alias command would allow me to avoid typing the interactive flag, -i, every time a called the rm command.
No comments:
Post a Comment