Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Edit Files

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
shihan
Posts: 5
Joined: 2005-07-07 18:57

Edit Files

#1 Post by shihan »

Ok just a quick question

I have been trying to figure this out for days to know success (thinking of going back to FC4).........

How do i open a file like "sources.list" and edit ? I have tried VI, NANO and i cant seem to save the changes.

Also can anyone offer guidance into how i install the sis driver from www.schhofer.net onto sarge.

Many Many Thanks

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

Re: Edit Files

#2 Post by dawgie »

shihan wrote: How do i open a file like "sources.list" and edit ? I have tried VI, NANO and i cant seem to save the changes.
You need to be root to edit system files.

-Bob

shihan
Posts: 5
Joined: 2005-07-07 18:57

re

#3 Post by shihan »

Hi Dawgie

Ok from terminal, i su - plus password and i am logged in as root. i then enter nano -w /etc/apt/sources.list and the editor opens. But when i try to enter some text and save, it does not.

Are there specific commands to use in nano ?

Regards

Shihan

Guest

#4 Post by Guest »

Does this work?

Code: Select all

$ su
Password:
# vi /etc/apt/sources.list
Make whatever changes are necessary.

Code: Select all

:wq

sprucio
Posts: 143
Joined: 2005-03-29 03:30

#5 Post by sprucio »

What is the error message you get when you try to save in nano?

Post Reply