Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

How to change the default runlevel?

Answer:

For example, you want to change the runlevel from GUI mode to console mode

Edit the file /etc/inittab, change the following line

id:5:initdefault

Change the number from 5 to 3.

For more information about runlevel, see: http://en.wikipedia.org/wiki/Runlevel

  1. How to display the current runlevel in RedHat/Fedora
  2. How to change the owner of a file in Linux
  3. How to perform checksum on a file?
  4. How to change the default Ubuntu’s NTP server
  5. Maximum Filename Length in EXT3?

Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>