linux - under mac terminal: List all of the users whom has at least one running process? -
linux - under mac terminal: List all of the users whom has at least one running process? -
how list of users whom has @ to the lowest degree 1 running process.
the user name should not duplicated. user name should sorted. $ ps xau | cutting -f1 -d " "| sort | uniq | tail -n +2
you may want weed out names starting _ :
ps xau | cutting -f1 -d " "| sort | uniq | grep -v ^_ | tail -n +2 linux osx terminal
Comments
Post a Comment