Ubuntu – How to run original command that aliased with same name

aliasbashcommand line

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:

  1. the full pathname of the command: /bin/ls

  2. command substitution: $(which ls)

  3. the command builtin: command ls

  4. double quotation marks: "ls"

  5. single quotation marks: 'ls'

  6. a backslash character: \ls