Runlevels outline the working state of a Unix-like system throughout boot or system initialization. Every runlevel is assigned a quantity, and processes related to that runlevel are began or stopped because the system enters or exits that runlevel. Checking the present runlevel is a helpful step in troubleshooting boot points or understanding system conduct throughout boot.
There are a number of strategies to examine the present runlevel of a system. One frequent technique entails utilizing the “who -r” or “runlevel” command. For instance: