What are runlevels in linux systems?

What are runlevels in linux systems?
5 (100%) 1 vote

Recently I came to know about the runlevels in linux while going through  initd. So I thought of writing about it and here it is what are runlevels in linux systems?

So there are 7 runlevels defined and these are numbered from 0-6.Following is the list of the runlevels.

What are runlevels in linux systems?

What are runlevels in linux systems?

Here is a list of runlevels in linux:

Run Level Mode What is does
0 Halt System Shutdown
1 Single User No network interfaces, start daemons, or allow non-root logins
2 Multi User No configure network interfaces or start daemons.
3 Multi User with Networking Starts the system normally.Like most of the servers with terminal
4 User defined Not used/User-definable
5 Multi User with display As most of the desktops are launched with display.
6 Reboot Reboots the system

These are standard runlevels and are used while init the system.

To see which runlevel your system is running in. Open terminal and type


It will show the runlevel like below

What are runlevels in linux systems?

These are used in initd to write startup init scripts.

Liked the article please share and subscribe.
You can also read more such articles below.

How to get number of threads per process?


How to get most frequent ip address in your logs.

Gaurav Yadav

Gaurav is cloud infrastructure engineer and a full stack web developer and blogger. Sportsperson by heart and loves football. Scale is something he loves to work for and always keen to learn new tech. Experienced with CI/CD, distributed cloud infrastructure, build systems and lot of SRE Stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.