Results 1 to 6 of 6
How do you save the GNU nano 2.0.7 sources.list file after you have edited it?...
- 04-05-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 18
[SOLVED] save sources.list?
How do you save the GNU nano 2.0.7 sources.list file after you have edited it?
- 04-05-2010 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Control-X should exit nano and give you a chance to save the file. Check at the bottom of the opened nano window or in the console for this option, and others.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 04-05-2010 #3
You must have root privileges to save sources.list file. Execute su - command to gain root privileges first.
Edit file and press Ctrl+X, Y and hit Enter key to save file.Code:su - nano /etc/apt/sources.list
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 04-05-2010 #4forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Just in case you need it, more info on using nano can be found on the manual page:
Code:man nano
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 04-06-2010 #5
If you are new to these, it is good to use Graphical editors..
- 04-06-2010 #6Just Joined!
- Join Date
- Apr 2010
- Posts
- 18
thank you. i got it.



