I'm trying to get the ps command to just output the name of the processes currently running, but I can't figure out a way to do it. I'm using OSX, so some UNIX features are crippled. Is there any way for me to do this?
Thanks,
Black Leopard
I'm trying to get the ps command to just output the name of the processes currently running, but I can't figure out a way to do it. I'm using OSX, so some UNIX features are crippled. Is there any way for me to do this?
Thanks,
Black Leopard
$ ps -ef | awk '{print $NF}'
or
$ ps -ef | awk '{print $9}'
I get an error:
If it helps any, here's the usage:
try this
$ ps axco pid,command
That worked perfectly! Thanks!