nerdexam
CompTIA

XK0-005 · Question #1697

A Linux administrator needs to list the packages that are currently installed on a server. Which of the following commands should the administrator use?

The correct answer is B. snap list. snap list displays all snap packages currently installed on the system, along with their version, revision, and publisher. Option A ('snap install list') is invalid syntax-snap install is used to install a package, not list them. Option C (snap show) displays detailed…

System Management

Question

A Linux administrator needs to list the packages that are currently installed on a server. Which of the following commands should the administrator use?

Options

  • Asnap install list
  • Bsnap list
  • Csnap show
  • Dsnap packages

How the community answered

(47 responses)
  • A
    2% (1)
  • B
    94% (44)
  • D
    4% (2)

Explanation

snap list displays all snap packages currently installed on the system, along with their version, revision, and publisher. Option A ('snap install list') is invalid syntax-snap install is used to install a package, not list them. Option C (snap show) displays detailed information about a specific named snap package and requires a package name argument. Option D (snap packages) is not a valid snap subcommand.

Topics

#Linux commands#Package management#snap#Listing installed packages

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice