purga
1st June 2006, 05:18
I have a daemon named: shero
I can use the following command to get the pid:
pgrep -u root shero
So, is there a one-line command to kill it? something like:
kill (pgrep -u root shero)
What's the exact expression?
Thanks in advance.
I can use the following command to get the pid:
pgrep -u root shero
So, is there a one-line command to kill it? something like:
kill (pgrep -u root shero)
What's the exact expression?
Thanks in advance.