1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 04:45:00 +02:00
tldr/common/alias.md
Raphael Naswaty 8c05b21d9a Fixing arbitrary markdown
Reformated for fixing the arbitrary markdown
2014-02-22 08:31:06 -03:00

351 B

alias

Creates an alias for a word when used as the first word of a command

  • creating a generic alias

alias {{word}}="{{command}}"

  • remove an aliased command

unalias {{word}}

  • full list of aliased words

alias -p

  • turning rm an interative command

alias {{rm}}="{{rm -i}}"

  • overriding la as ls -a

alias {{la}}="{{ls -a}}"