Fedora Linux Support Community & Resources Center
Old 29th March 2005, 10:41 AM
drfunk Offline
Registered User
Join Date: Mar 2005
Posts: 7
how do i edit from terminal in fedora 3??


I just installed fedora and I dont know how to edit from the terminal at all. If someone could tell me the name of an editing program that's already on there in fedora 3 please tell me so that i can open it, edit the xorg.conf file and get GNOME working for me with my intel815 chipset. Any help would be greatly appreciated.

A guide said type 'mc' as midnight commander should be on there if you installed system tools, but it doesnt work. i've also tried typing 'pico' to no avail.

Reply With Quote
Old 29th March 2005, 10:58 AM
mikecurry Offline
Registered User
Join Date: Sep 2004
Location: Near Brighton (UK)
Age: 31
Posts: 53
Use vi (aliased to vim by default)

Vi (or vim) is by far the most commonly used editor. It takes a while to get used to though (I still know hardly any of its tools).

If you are looking for a very similar 'simple' editor (like pico) then nano is available (I have FC2 and its on there).

Regarding midnight commander, I have the following alias that was already set for me:
alias mc='. /usr/share/mc/bin/mc-wrapper.sh'
It may well be the case mc is not included in FC3 - see if the /usr/share/mc/ directory exists!
Reply With Quote
Old 29th March 2005, 11:22 AM
imdeemvp Offline
Registered User
Join Date: Feb 2004
Age: 48
Posts: 8,255
Gedit is the gui editor in fedora and I like nano to edit in text mode in the terminal. Open terminal, become root (type root and then enter the password) then run the command gedit. For example is you want to edit the grub you will do this:
gedit /etc/grub.conf
etc = directory, grub = the file to edit.
HELP with JAVA, MP3's, Wireless, Repo's, YUM, Partitions, System Monitors, Nvidia, ATI drivers, LIMEWIRE PRO & MORE!.

Easiest and most friendly desktop ever is PCLinuxOS! Includes all this apps. Just try it.

"The greater the struggle THE greater the achievment."

Do you know HIM?

If you are an idiot click here. NThis will test you linux skills :D
Reply With Quote
Old 29th March 2005, 11:45 AM
robghealey Offline
Registered User
Join Date: Apr 2004
Location: Tacoma, WA
Age: 47
Posts: 455
Here are the most common used commands for vi
esc i for insert mode
esc q for quit
eas wq for write and quit
esc q! for quit without saving anything new

Hope this helps...

"Deliberately choose to surround yourself with people that inspire you to greatness!"
Reply With Quote
Old 29th March 2005, 11:56 AM
HadroLepton Offline
Registered User
Join Date: Mar 2004
Location: germany
Posts: 31
sadly fedora does not install midnight commander (mc) by default. you have to manually select mc to be installed.

i think drfunk is having problems starting X, gedit wont be of much use then

and to complement robghealey's small introduction to vi...
the first few chapters are enough to get simple edit jobs done with vi
Reply With Quote
Old 29th March 2005, 02:12 PM
drfunk Offline
Registered User
Join Date: Mar 2005
Posts: 7
thanks guys. I think i've fixed the graphical glitches, but what happens is that when i boot up normally it comes up with the loading stuff (network, printers then 'first-time boot configuration') and then it just hangs there. Do you know what's happening??

And yes i'm having lots of problems because i run an Intel 815 chipset graphics and Fedora 3's drivers hate it.

Reply With Quote
Old 29th March 2005, 02:23 PM
drfunk Offline
Registered User
Join Date: Mar 2005
Posts: 7

I have overcome all my problems and am now writing to you from my linux desktop. Thank you all for your great help and I hope that I may become better at Fedora so I may help newcomers like you have helped me.

Reply With Quote

edit, fedora, terminal

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 10 USB boot menu edit cipto Using Fedora 2 2nd April 2009 11:31 PM
Can't edit menu [Fedora 9] Silverhammer Using Fedora 8 30th August 2008 10:21 PM
edit grub file - fedora 5 tazdog Installation, Upgrades and Live Media 2 10th May 2006 04:26 AM
i can't edit a file! pico / edit bad commands? virtuoso Using Fedora 8 9th November 2004 09:45 PM
How do I edit files in the terminal? edkilp Using Fedora 11 15th July 2004 04:20 AM

Current GMT-time: 04:28 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat