Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)
To reboot the system using SysV init, you can use two commands: 'shutdown -r now' and 'telinit 6'. 'shutdown -r now' initiates an immediate reboot of the system, while 'telinit 6' instructs the init process to transition to runlevel 6, which is associated with a reboot. These commands are commonly used for rebooting systems running SysV init.
Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)
In Linux systems, the init system is the first process started by the kernel during the boot process. Systemd is a popular init system used in many modern Linux distributions. Upstart was an event-based init system used in some Linux distributions as a replacement for the traditional init daemon but is now less common. SysV init is one of the original init systems used in Unix and Unix-like systems and was widely used in older Linux distributions before being largely replaced by systemd.
SIMULATION -
Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)
The file in the /proc filesystem that lists parameters passed from the bootloader to the kernel is named 'cmdline'. This file contains the command-line arguments given to the kernel at the time of boot, which includes parameters set by the bootloader.
What information can the lspci command display about the system hardware? (Choose THREE correct answers.)
The lspci command is used to display information about PCI devices on a system. It can provide details on various aspects of these devices. The command can display device IRQ settings, giving insights into the hardware interrupts assigned to PCI devices. Furthermore, it can show the PCI bus speed, which helps in understanding the data transfer capabilities of the bus. Additionally, it provides device vendor identification, revealing the manufacturers of the PCI devices in the system. Therefore, the three correct pieces of information that lspci can display are device IRQ settings, PCI bus speed, and device vendor identification.
Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)
To safely perform maintenance tasks on a system running SysV init, it is necessary to bring the system into single-user mode. The commands 'init 1' and 'telinit 1' both change the system's runlevel to 1, which is the single-user mode. In this state, only the root user is logged in, and minimal services are running, making it safe for maintenance. Other options do not appropriately transition the system into this safe maintenance mode.