Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I know that there is this command :

ps aux 

to get all info about the running processes .. but I need only the names and ids for these processes , is there any command can list the processes ids or names only ?


share|improve this question

1 Answer 1

up vote 3 down vote accepted

You can use the o argument instead of u to specify what you want to see:

ps axo pid,comm
share|improve this answer
thank u :-).... –  Akari Feb 14 '14 at 22:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.