use file data in command lines
I was able to get the pid number of a particular process using
ps -e | grep xeyes | cut -f2 -d" " > m
and that would put the pid of xeyes into a file called m.
But I now want to be able to use this number, in say the kill function.
Can I write something like:
kill < m
(This doesn't work, but you get the idea)
Thanks.
|