QUIZ Flashcards
command can load and unload a kernel module from memory
modprobe
command loads a kernel module into memory
modprobe
real file system
XFS
pseudo file system
sysfs
commonly mounted at /sys and is mounted automatically by the system
sysfs filesystem
This command lists the block devices (such as hard disks) on your system.
lsblk
command allows you to view the hot-pluggable devices currently connected to your system
lsusb
run level reboots system
6
Which two commands will show you output from the kernel ring buffer?
journalctl -k
dmesg
‘sysvinit’ run level for single user mode
Runlevel 1
Which option provides a desktop environment on a Linux workstation?
runlevel 5
valid initialization systems for Linux
sysvinit
upstart
When is the initial ramdisk no longer needed during the boot process?
Once the init system has taken over mounting the computers’ file systems.
commands that completely power down a system
shutdown -P
systemctl poweroff
Which command starts a graphical desktop session on a Linux system running sysvinit
telinit 5
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?
systemctl set-default multi-user.target
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?
Edit the /etc/inittab file, and set the first directive to id:3:initdefault
Which command posts a message to the terminal window notifying other users on the system that you are about to reboot the computer?
wall “This computer will be rebooted in 5 minutes.”
command is used to broadcast a message to all users on a system.
wall
commands shut down your computer
shutdown -h -t now
systemctl isolate shutdown.target
commands reboot a computer using systemd
systemctl reboot
systemctl isolate reboot.target
On a sysvinit system, which command shows you the current runlevel
runlevel
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
telinit 1
only root can log in