RUNLEVEL

1. How to check current runlevel on which you are logged in:

who -r
or
runlevel

2. Check services which are enabled in which runlevel:
chkconfig

3. What are the runlevels existing in a Linux system configuration and its meanings:
IDNameDescription
0HaltShuts down the system.
1Single-user ModeMode for administrative tasks.[2][2]
2Multi-user ModeDoes not configure network interfaces and does not export networks services.[3]
3Multi-user Mode with NetworkingStarts the system normally.[4]
4Not used/User-definableFor special purposes.
5Start the system normally with appropriate display manager. ( with GUI )Same as runlevel 3 + display manager.
6RebootReboots the system.
Runlevels design changes and it depends on the Operating system that we are using like UBUNTU, REDHAT.

4. How to change the runlevel via command line without rebooting:
telenit <runlevel>
or
init <runlevel>

No comments:

Post a Comment

Thank You.

https://linwintech.blogspot.com/