LinuxQuestions.org
Help answer threads with 0 replies.
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 09-07-2003, 02:41 PM   #1
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Rep: Reputation: 15
file editor


what program should I use when editing files like XF386Config?
And how do I start it?
Thanks
 
Old 09-07-2003, 02:43 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 271Reputation: 271Reputation: 271
For newbies, pico is easy to use and understand to edit files at a console.

I recommend learning and using vi, as it might save your life one day when nothing else is available.

Regards.
 
Old 09-07-2003, 02:57 PM   #3
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks, but how do you edit the file using pico?
 
Old 09-07-2003, 02:57 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
............and to start an editor

Open a shell

type

su

then type you root password

then type for example

kedit /etc/X11/XF86Config

In general

editor path_to_file

to bring the actuall file up
 
Old 09-07-2003, 02:59 PM   #5
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
thanks

but.. the command 'pic 'filename'' wont let me edit the file, i think.. And kedit 'filename' wont work at all..
??

Last edited by gurra59; 09-07-2003 at 03:01 PM.
 
Old 09-07-2003, 03:04 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
it's pico, not pic

plus to edit xf..config, u need to be root.

if u dont have pico on ur machine, u might be having some called "nano". pretty much the same, those two
 
Old 09-07-2003, 03:07 PM   #7
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
kedit was just an example - it has to be installed with your distro to use it - which distro are you using?

try

gedit /etc/X11/XF86Config

ie find an editor thats on your machine and use that
 
Old 09-07-2003, 03:08 PM   #8
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
I am root..
pico, nano, and kedit wont work? Im typing for example "pico XF86Config" ..
Im running Red Hat 9 if that helps
 
Old 09-07-2003, 03:09 PM   #9
gurra59
Member
 
Registered: Sep 2003
Posts: 47

Original Poster
Rep: Reputation: 15
gedit worked fint, thanks!!!
 
Old 09-07-2003, 03:09 PM   #10
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Smile

gedit should definately be in RH9 - try gedit

edit: posted identical minute - glad gedit works

Last edited by Skyline; 09-07-2003 at 03:11 PM.
 
Old 09-08-2003, 09:50 AM   #11
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
Maybe the Midnight Commander is installed, start it with mc. It includes an editor you can use without having to learn arcane commands.

Robin
 
  


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 open A file with an editor through my shell amer_58 Linux - Newbie 12 03-11-2005 06:19 AM
editor saves duplicate file with tilde after it smaudlin Red Hat 2 12-29-2004 04:37 PM
Found a video editor, now, I need a file converter or... oicdn Linux - Software 4 04-26-2004 11:10 AM
Getting rid of highlighting in a vi editor text file. Dee62 Linux - Newbie 6 03-11-2004 02:55 PM
Blizzard MPQ file format Editor or Viewer?!? Kme1e0n Linux - Software 0 10-08-2003 06:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 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