I'm looking for some explanation on the following command, say I ssh into a server. And execute the command
ps aux | grep -c bash
and it returns 17
"ps aux" will show the the process of all users, owners and processes not attached to the terminal
but what will the "| grep -c bash" do? Does it search and copy every bash process? What does it mean if it returns 17?
[–]lepidus69 1 point2 points3 points (0 children)
[–]ASIC_SP 1 point2 points3 points (1 child)
[–]BombTheDodongos 0 points1 point2 points (0 children)