Ace your COMPTIA A+ certification with our practice exam. Engage with a variety of questions including multiple choice and performance-based, complete with hints and detailed explanations. Prepare effectively and boost your confidence for the big 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.