An alias for ls
command in ~/.bashrc
file aliased with this one:
alias ls='ls --color=auto'
then, when I run ls
command in terminal aliased ls
(ls --color=auto
) runs. but my question is how can I run original ls
only and only ls
alone without extra argument and without solving problem with deleting aliased entry? since when I delete this entry I can run it in simple ls
.
Best Answer
You can bypass aliases by the following methods:
the full pathname of the command:
/bin/ls
command substitution:
$(which ls)
the command builtin:
command ls
double quotation marks:
"ls"
single quotation marks:
'ls'
a backslash character:
\ls