Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-09-2003, 01:55 PM   #1
Registered: Sep 2003
Posts: 107

Rep: Reputation: 15
Cant get out of inittab

I editted it so I could install my graphics drivers and now I dont know how to get it back to inittab5. I used the gedit /etc/inittab and when I try to do that in the command prompt mode it says it can't display it. HELP PLEASE
Old 10-09-2003, 01:59 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
To edit innitab you cna use vi or pico.

If you want to get abck to runlevel 5 then use:
init 5
Old 10-09-2003, 02:00 PM   #3
Senior Member
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Can't display it? As the root user you can open it up using vi so do:

vi /etc/inittab

then type:


to go into 'insert' mode. Then make the changes you need and hit the 'escape' key to exit from insert mode. Then you can type:


which is 'write' and 'quit'.

Beat me again Ross.
Old 10-09-2003, 02:13 PM   #4
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
rc[0-6] and inittab kpachopoulos Linux - General 1 08-12-2005 04:27 PM
inittab is missing danielganea Slackware 4 02-13-2005 02:59 PM
edit inittab C_J Linux - Newbie 4 01-24-2005 11:33 AM
inittab mikedeatworld Linux - Software 3 08-13-2004 10:01 AM
/etc/inittab sakeeb Linux - General 9 05-29-2002 09:04 AM

All times are GMT -5. The time now is 10:00 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration