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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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.