LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-09-2003, 02:55 PM   #1
InEeDhElPlInUx
Member
 
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, 02:59 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
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, 03:00 PM   #3
Crashed_Again
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:

i

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:

:wq

which is 'write' and 'quit'.

<edit>
Beat me again Ross.
</edit>
 
Old 10-09-2003, 03:13 PM   #4
InEeDhElPlInUx
Member
 
Registered: Sep 2003
Posts: 107

Original Poster
Rep: Reputation: 15
THANK YOU!!!
 
  


Reply


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 05:27 PM
inittab is missing danielganea Slackware 4 02-13-2005 03:59 PM
edit inittab C_J Linux - Newbie 4 01-24-2005 12:33 PM
inittab mikedeatworld Linux - Software 3 08-13-2004 11:01 AM
/etc/inittab sakeeb Linux - General 9 05-29-2002 10:04 AM


All times are GMT -5. The time now is 08:27 AM.

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