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
0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Related posts: