In the man page of
kill it is written as following
kill [ -s signal | -p ] [ -a ] [ -- ] pid ... kill -l [ signal ] -p Specify that kill should only print the process id (pid) of the named processes, and not send any signals.
But as I tried many times in both RH and RHEL, command like
kill -s SIGHUP |-p 123 never worked and an error is always reported
bash: -p: command not found
Did I make any mistakes?