Bypass an alias
suggest changeSometimes you may want to bypass an alias temporarily, without disabling it. To work with a concrete example, consider this alias:
alias ls='ls --color=auto'
And let’s say you want to use the ls command without disabling the alias. You have several options:
- Use the
commandbuiltin:command ls - Use the full path of the command:
/bin/ls - Add a
\\anywhere in the command name, for example:\ls, orl\s - Quote the command:
"ls"or'ls'
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents