Bash Bypass Alias Linux/Unix Command

To bypass an alias in a bash shell, you can use a backslash () before the command. For example:

 
$ alias ls='ls -al'
$ \ls

This will execute the ls command without the alias and show the output without the -al option.

 

or

 

To bypass an alias in bash, you can use the command in the following format:

 
\command

For example, if you have an alias for ls as ls -al, to run the original ls command, you can use:

 
\ls

This will run the unaliased ls command, ignoring the alias definition.

Leave a Comment