$ ps -e | grep aliasd 12017 pts/2 00:00:00 aliasd $ $ sh -c "kill -SIGINT $(pidof aliasd)" && echo OK || echo FAILED'!' sh: line 0: kill: SIGINT: invalid signal specification FAILED! $ $ $ ps -e | grep aliasd 12017 pts/2 00:00:00 aliasd $ $ $ kill -SIGINT $(pidof aliasd) && echo OK || echo FAILED'!' OK $ $ $ ps -e | grep aliasd $