3
rated 0 times
[
3]
[
0]
/ answers: 1 / hits: 1161
/ 2 Years ago, thu, january 13, 2022, 12:32:46
I am playing around with pipes to learn how to use them.
I am trying this command to kill a process by name: pgrep <some_process> | kill
but the output I am getting is the usage instruction for kill, like it didn't receive any input.
of course I know there are easier way to accomplish the same task like pkill
or killall
, but I want to know why is this not working.
Thank you
More From » command-line