Determine The Current Runlevel In Linux
There are different ways of finding the current runlevel in Linux. Two of them are as follows :
Using who command
$ who -r
You can also use the option --runlevel instead of -r.
runlevel command
Linux has a command called runlevel which also prints the current runlevel.
$ runlevel
