What command displays the current runlevel of a Linux system?
Correct Answer: d. runlevel
The runlevel command displays the current and previous runlevels of a Linux system. Runlevels define the state of the machine, such as whether it's in single-user mode, multi-user mode, or graphical mode.
When you run the runlevel command, it returns two characters: the previous runlevel and the current one. This command is particularly useful for administrators managing system states or troubleshooting boot-level configurations.
Why the other options are incorrect :
Discover a range of courses designed to provide you with the knowledge and skills needed to excel in your chosen field.
You don’t need one month to study and pass your test.
With Prepsaret, it takes you a few days to grasp all the concepts needed to pass your exams