Which command displays processes without controlling the terminal?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that displays processes without controlling the terminal is "ps -x." This command is used to list all running processes on the system, including those that are not attached to any terminal. The "-x" option specifically includes processes that are running in the background, without a controlling shell or terminal.

In contrast, the other options serve different purposes or have different contexts. The "top" command provides a dynamic, real-time view of running processes and their resource usage, but it is typically used within a terminal session and does not focus solely on processes without a terminal. "htop" is an enhanced version of "top" with a more user-friendly interface, but it also works within a terminal environment, reflecting real-time processes that can include terminal-controlled processes. The "jobs" command is used within a shell session to display the current jobs (processes) that are managed by that terminal session, and it only shows jobs associated with the session you are in.

Thus, "ps -x" is the command specifically designed to show all processes, including those not linked to a terminal, making it the correct choice in this context.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy