Find a PID with ps + awk
This is really something i need to learn, and never forget. But this is kind of stuff, I always forget. So I write it up right now. ps aux|gawk ‘$11 == “ssh” {print $2}’
tag: shellThis is really something i need to learn, and never forget. But this is kind of stuff, I always forget. So I write it up right now. ps aux|gawk ‘$11 == “ssh” {print $2}’
tag: shell