tldr/pages/common/command.md

13 lines
395 B
Markdown

# command
> Command forces the shell to execute the program and ignore any functions, builtins and aliases with the same name.
> More information: <https://man.archlinux.org/man/command.1p>.
- Execute the `ls` program literally, even if an `ls` alias exists:
`command {{ls}}`
- Display the path to the executable or the alias definition of a specific command:
`command -v {{command_name}}`