1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/command.md

13 lines
395 B
Markdown
Raw Normal View History

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