Explanation: 'systemctl list-units --type=service' lists all active services managed by systemd.
Dear candidates you will find MCQ questions of Linux here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question
Explanation: 'systemctl list-units --type=service' lists all active services managed by systemd.
Explanation: 'fdisk' is a command-line utility to create, delete, and manage disk partitions.
Explanation: 'rm -i' prompts for confirmation before deleting each file.
Explanation: 'bzip2' compresses files using the Burrows–Wheeler block sorting text compression algorithm.
Explanation: 'hostnamectl set-hostname' is used to change the system's hostname.
Explanation: 'alias' lets you define shortcuts for frequently used commands.
Explanation: 'which' shows the full path of shell commands from your $PATH.
Explanation: '/etc/network/interfaces' is the legacy file for configuring network interfaces in Debian-based systems.
Explanation: 'export' sets environment variables in the shell session.
Explanation: '-i' tells 'grep' to ignore case during string matching.