To edit a file using the terminal in Ubuntu, enter the following command:-
sudo gedit {filename}
Enter your root password if required, and your file will appear ready for editing.
http://www.gnome.org/projects/gedit/
gedit is a Lightweight editing tool for the GNOME desktop found in many distributions of Linux, BSD and other Unix systems. |