LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-31-2004, 10:54 AM   #1
michaeltweak
LQ Newbie
 
Registered: Jul 2003
Posts: 24

Rep: Reputation: 16
edit a file - how?


hello

I'm running mandrake 9.2 and have just installed the nvidia drivers. Now I'm in runlevel 3 and have to edit the XF86Config-4 file, but there does not seem to be an edit command. what do you do then??

This should be very simple
 
Old 01-31-2004, 11:00 AM   #2
TheOneAndOnlySM
Member
 
Registered: Jul 2003
Location: Dallas, TX
Distribution: Ubuntu 10.04 LTS
Posts: 987

Rep: Reputation: 30
in the console, login as root, do cd /etc/X11, then do vi XF86Config-4 file

or you can also use pico
 
Old 01-31-2004, 11:22 AM   #3
michaeltweak
LQ Newbie
 
Registered: Jul 2003
Posts: 24

Original Poster
Rep: Reputation: 16
thanks.

damn it seems you need a PHd to use the vi editor
 
Old 01-31-2004, 12:13 PM   #4
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Install nano from the MDK 9.2 Cds. It's pico with a few added features. Really easy for us non-programmers to use.
 
Old 02-01-2004, 11:04 AM   #5
michaeltweak
LQ Newbie
 
Registered: Jul 2003
Posts: 24

Original Poster
Rep: Reputation: 16
I would like to install nano, but its kind of difficult when I'm in runlevel 3 and a newbie
I figured out how to use the vi editor. It all seemed tricky until I learned that : enables command mode.
 
Old 02-01-2004, 11:22 AM   #6
watashiwaotaku7
Member
 
Registered: Oct 2002
Location: wisconsin -- The Badger state
Distribution: gentoo
Posts: 654

Rep: Reputation: 30
do man rpm to find out about different command line features it should explain how to install things better than any of us can
 
Old 02-01-2004, 11:25 AM   #7
mooreted
Member
 
Registered: May 2003
Posts: 598

Rep: Reputation: 30
Some people always run at RL3. GUIs are not mandatory in Linux. You can mount a CD and copy a package to the hard drive and install it. I think URPMI will allow you to install programs as well. Anyway, there are options. Don't worry, you're not sunk yet.

Ted.
 
  


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
How to edit a file jimbrechin Linux - Newbie 6 03-26-2005 01:25 AM
Trying to edit a file AndreL Linux - Newbie 2 03-24-2004 06:45 AM
edit a file mjewell Linux - Newbie 3 01-19-2004 05:53 PM
how do i edit a file andym Linux - Software 6 04-16-2003 12:09 PM
how do I edit a file? JunLitsu Linux - General 7 04-10-2002 01:21 PM


All times are GMT -5. The time now is 07:57 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration