109 reputation
4
bio website
location
age
visits member for 2 years
seen Dec 10 at 12:47

Feb
6
comment sudo to kill output of ps, awk, xargs
Very useful, thankyou very much
Jan
12
comment sudo to kill output of ps, awk, xargs
If I run the commands without "|kill" the output on the screen is not formatted by awk. sudo sh -c "ps aux | grep [f]oo | awk '{print $2}' | xargs
Jan
11
comment sudo to kill output of ps, awk, xargs
Thanks, I can see the processes and the pids