Prepare for the COMPTIA A+ Exam. Test your knowledge with our flashcards and multiple choice questions, complete with hints and explanations. Ensure you're ready for exam day!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What does the 'ps -ax' command do in Linux?

  1. Lists user processes

  2. Kills all running processes

  3. Lists all running processes for both terminal and system

  4. Restarts all processes

The correct answer is: Lists all running processes for both terminal and system

This command does not kill or restart processes as described by options B and D. Option A only lists user processes, but the 'ps -ax' command lists ALL running processes, including those for the terminal and the system. Therefore, option C is the correct answer.