A Linux system runs in one of several runlevels — modes providing different features and levels of functionality
Linux systems normally have seven runlevels, numbered from 0–6:
- Three are mandatory (0 = halt, 6 = reboot, 1 = single-user)
- Four are user-defined (2–5)
No consensus between administrators or distributions about how to organise the user-defined runlevels
- Some rely (partly) on runlevels to define which major subsystems are running
- Others prefer the flexibility of starting and stopping subsystems individually, without changing runlevel
- In every common distribution, there is at least one user-defined runlevel which has the same services as another