tldr/pages/common/command.md

12 lines
327 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.
- Execute the ls program literally, even if an ls alias exists:
`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}}`