tldr/pages/common/command.md

13 lines
381 B
Markdown
Raw Normal View History

2018-10-31 00:29:48 +00:00
# command
> Command forces the shell to execute the program and ignore any functions, builtins and aliases with the same name.
> More information: <https://manned.org/command>.
2018-10-31 00:29:48 +00:00
- Execute the `ls` program literally, even if an `ls` alias exists:
2018-10-31 00:29:48 +00:00
`command {{ls}}`
2020-10-24 13:12:39 +01:00
- Display the path to the executable or the alias definition of a specific command:
`command -v {{command_name}}`