QUIZ Flashcards

1
Q

command can load and unload a kernel module from memory

A

modprobe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

command loads a kernel module into memory

A

modprobe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

real file system

A

XFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

pseudo file system

A

sysfs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

commonly mounted at /sys and is mounted automatically by the system

A

sysfs filesystem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This command lists the block devices (such as hard disks) on your system.

A

lsblk

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

command allows you to view the hot-pluggable devices currently connected to your system

A

lsusb

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

run level reboots system

A

6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which two commands will show you output from the kernel ring buffer?

A

journalctl -k

dmesg

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

‘sysvinit’ run level for single user mode

A

Runlevel 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which option provides a desktop environment on a Linux workstation?

A

runlevel 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

valid initialization systems for Linux

A

sysvinit

upstart

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

When is the initial ramdisk no longer needed during the boot process?

A

Once the init system has taken over mounting the computers’ file systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

commands that completely power down a system

A

shutdown -P

systemctl poweroff

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which command starts a graphical desktop session on a Linux system running sysvinit

A

telinit 5

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which options configure a computer to boot into a shell environment where more than one person can log into the system and have network access?

A

systemctl set-default multi-user.target

17
Q

edit this file to configure a computer to boot into a shell environment where more than one person can log into the system and have network access?

A

Edit the /etc/inittab file, and set the first directive to id:3:initdefault

18
Q

Which command posts a message to the terminal window notifying other users on the system that you are about to reboot the computer?

A

wall “This computer will be rebooted in 5 minutes.”

19
Q

command is used to broadcast a message to all users on a system.

A

wall

20
Q

commands shut down your computer

A

shutdown -h -t now

systemctl isolate shutdown.target

21
Q

commands reboot a computer using systemd

A

systemctl reboot

systemctl isolate reboot.target

22
Q

On a sysvinit system, which command shows you the current runlevel

A

runlevel

23
Q

On a system using Upstart, you need to perform an emergency operation in an isolated manner (meaning that you need to prevent others from logging in) without rebooting. Which command would you use to achieve this

A

telinit 1

only root can log in