How to use the ps command: 2-Minute Linux Tips

How to use the ps command: 2-Minute Linux Tips

Assessment

Interactive Video

Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains the use of the PS command to display information about running processes. It covers how to view processes in the current session, how to list all processes, and how to filter processes by command name or username. The tutorial also demonstrates how to count processes using the PS EF command piped to the WC command.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the PS command primarily display when used without any options?

Processes running by a specific user

Processes running in the current session

All processes running on the system

Processes that have been terminated

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following fields is NOT displayed by the PS command?

User ID

Process ID

Memory Usage

Parent Process ID

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you stop the PS command from displaying more information?

Pressing Control+Z

Pressing Control+C

Closing the terminal

Typing 'exit'

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command can be used to filter processes by a specific command name?

PS -L

PS -A

PS -U

PS EF | grep

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command combination is used to count the number of processes running?

PS -L | grep

PS -A | total

PS -C | count

PS EF | wc