nerdexam
Cisco

210-250 · Question #101

Which Linux terminal command can be used to display all the processes?

The correct answer is D. ps -ef. The ps -ef command displays a complete, full-format listing of all running processes on a Linux system.

Cybersecurity Fundamentals

Question

Which Linux terminal command can be used to display all the processes?

Exhibit

210-250 question #101 exhibit

Options

  • Aps -m
  • Bps -u
  • Cps -d
  • Dps -ef

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    2% (1)
  • D
    91% (43)

Why each option

The ps -ef command displays a complete, full-format listing of all running processes on a Linux system.

Aps -m

The ps -m flag shows threads associated with processes or memory-related information depending on the implementation, not a complete list of all processes.

Bps -u

The ps -u flag filters and displays processes owned by a specific user, not all processes system-wide.

Cps -d

The ps -d flag selects all processes except session leaders, resulting in an incomplete view of all running processes.

Dps -efCorrect

The ps -ef command combines two flags: -e selects all processes regardless of owner or terminal, and -f produces a full-format listing that includes UID, PID, PPID, CPU usage, start time, and the complete command string. This combination is the standard method used to view every running process on a Linux system.

Concept tested: Linux ps command flags for listing all processes

Source: https://man7.org/linux/man-pages/man1/ps.1.html

Topics

#Linux commands#ps command#process management#system administration

Community Discussion

No community discussion yet for this question.

Full 210-250 Practice