why this command can't work?
Marc Spitzer
mspitze1 at optonline.net
Sun Mar 14 23:04:40 PST 2004
On Mon, 15 Mar 2004 05:03:16 +0000 (UTC)
songkai <songkai725 at hotmail.com> wrote:
> kill 'cat /home/bro/bro.pid';
>
> when i run this command,it says:
> kill:cat /home/bro/bro.pid no such pid
There are 2 types of single quotes in Unix/Linux
the single quote aka '
and the back quote aka `
>
> what should i do?!
use back quotes instead of single quotes.
look at the difference between the two in your shell.
echo 'cat /home/bro/bro.pid';
echo `cat /home/bro/bro.pid`;
marc
>
> about bro.pid:
> ./bro -i eth0 mt @;
> echo $!<//home/bro/bro.pid;
>
More information about the Bro
mailing list