PDA

View Full Version : Ubuntu Server Question


mzracer360
October 17th, 2006, 03:39 PM
I just installed Ubuntu Server. Edit: I figured out my first question.

#2 how do i edit files with the server. Example being the sources.list?

az
October 17th, 2006, 03:55 PM
sudo nano /etc/apt/sources.list

CTRL-O to save and CTRL-X to exit


You may also learn to use vi. It is quite powerful once you fogure it out.

Leaning vi (or vim) is beyond the scope of this post....

RU-In?
October 18th, 2006, 04:57 AM
quote:"sudo nano /etc/apt/sources.list

CTRL-O to save and CTRL-X to exit


You may also learn to use vi. It is quite powerful once you fogure it out.

Leaning vi (or vim) is beyond the scope of this post..."


I notice on furums a lot when metioning Vi (Vim), they all say "hard to learn, beyond scope" which is for the most part true. Most forget to mention typing in:

$ vimtutor <enter>

this will bring up a short tutorial for vim, built right into you box. Try it out when you have 30 min. or so to at least learn the basics of Vi.