tldr/pages/common/alias.md

25 lines
351 B
Markdown
Raw Normal View History

# alias
2015-10-22 08:31:52 +01:00
> 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
2015-10-22 08:31:52 +01:00
`alias {{la}}="{{ls -a}}"`