Sometimes a same command is provided by shell-builtin as well as other file/package. Example:
$ type -a printf kill
printf is a shell builtin
printf is /usr/bin/printf
kill is a shell builtin
kill is /bin/kill
And while executing command, I sometime face some difficulties or command doesn't work as expected.
Example from man kill
:
-L, --table
List signal names in a nice table.
And If I try from terminal, it doesn't work:
$ kill -L
bash: kill: L: invalid signal specification
This is because kill
is executing as shell-builtin and it has no such feature/option.
So, How do I execute command properly to avoid interference from the shell?
Note: Here kill
is only used to give an example. You may have difficulties with other command(s) that have interference from shell