Hello
\kill can not invoke /bin/kill while \time invoke /usr/bin/time
$ kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
$ \kill
kill: usage: kill [-s sigspec | -n signum | -sigspec] [pid | job]... or kill -l [sigspec]
$ /bin/kill
Usage:
kill pid ... Send SIGTERM to every process listed.
kill signal pid ... Send a signal to every process listed.
kill -s signal pid ... Send a signal to every process listed.
kill -l List all signal names.
kill -L List all signal names in a nice table.
kill -l signal Convert between signal numbers and names.
$ time
real 0m0.000s
user 0m0.000s
sys 0m0.000s
$ \time
Usage: time [-apvV] [-f format] [-o file] [--append] [--verbose]
[--portability] [--format=format] [--output=file] [--version]
[--quiet] [--help] command [arg...]
$ /usr/bin/time
Usage: /usr/bin/time [-apvV] [-f format] [-o file] [--append] [--verbose]
[--portability] [--format=format] [--output=file] [--version]
[--quiet] [--help] command [arg...]
You write: time is flagged as a shell keyword, kill as a shell builtin. Please use "command time" or "command kill" if you want to call the command. Not sure, if that is a bug at all.
Matthias Klose wrote: Matthias is correct about `time' being a reserved word, so there's no bug here. However, since `command' only inhibits shell function lookup, `command kill' will still invoke the builtin. If you want to invoke the executable `kill', you'll need to use its full pathname. Chet