LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-10-2002, 01:53 AM   #1
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Rep: Reputation: 15
how do I edit a file?


er what is the command in another thread someone said to edit my etc/initab file to id:3:initdefault instead of id:5:initdefault.
 
Old 04-10-2002, 02:16 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
vi /etc/inittab

Then press 'insert' button you will be taken into insert mode, do the changes
 
Old 04-10-2002, 02:29 AM   #3
greenhornet
Member
 
Registered: Mar 2002
Location: Sydney, Australia
Distribution: RHEL, Fedora, Yellow Dog
Posts: 43

Rep: Reputation: 15
If they dont know what vi is I dont think they are going to know how to use it

Try using joe and pico they are easier to use, I do recommend vi as you can be sure every unix type machine will have it.
 
Old 04-10-2002, 06:26 AM   #4
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
this may help with commands.

http://www.chem.brown.edu/instructions/vi.html
 
Old 04-10-2002, 06:29 AM   #5
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
My personal favourite is JED. It looks pretty much like the msedit, but it's (apparently) based off emacs. Not all unices have it installed by default. I know it's on the Mandy #2, and I think on RH it simply runs emacs.
 
Old 04-10-2002, 06:33 AM   #6
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 992

Rep: Reputation: 30
RNS recomends emacs.

RNS recomends emacs.
 
Old 04-10-2002, 12:13 PM   #7
JunLitsu
Member
 
Registered: Apr 2002
Distribution: Gentoo
Posts: 95

Original Poster
Rep: Reputation: 15
thanks, damn I feel dumb
is there a way to change from text to graphical mode through pressing several keys?

Last edited by JunLitsu; 04-10-2002 at 12:14 PM.
 
Old 04-10-2002, 12:21 PM   #8
Thymox
Senior Member
 
Registered: Apr 2001
Location: Plymouth, England.
Distribution: Mostly Debian based systems
Posts: 4,368

Rep: Reputation: 64
Depends on what you're situation is. <CTRL>+<ALT>+<Fn> (when Fn is F1 --> F6) will drop you to a console. If you had to type startx to run X, then pressing <CTRL>+<ALT>+<BackSpace> should drop you to a console, but if you default to runlevel 5 (i.e. you have a graphical login prompt), then it will probably just log you out, and restart the login prompt.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to edit a file jimbrechin Linux - Newbie 6 03-26-2005 12:25 AM
Trying to edit a file AndreL Linux - Newbie 2 03-24-2004 05:45 AM
edit a file - how? michaeltweak Linux - Software 6 02-01-2004 10:25 AM
edit a file mjewell Linux - Newbie 3 01-19-2004 04:53 PM
how do i edit a file andym Linux - Software 6 04-16-2003 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration