I have a number of shell aliases set up to override one command with another. For instance, I want to run bat anytime I type cat, so I have alias cat=bat in my shell configuration.
bat
cat
alias cat=bat
But what if I were to ever want to run cat instead of bat?
Aliases can be ignored several ways:
Precede the command with a backslash.
$ \cat
Wrap the command in quotes.
$ 'cat'
Pass the command to command.
command
$ command cat
sourcearrow-up-right
Last updated 4 years ago