Home Apache PHP Ubuntu MySQL Linux HTML Win CSS Perl Javascript Rants Retro
 
Print This Page
Date Posted: Saturday 06th of February 2010 | Category: Ubuntu
Edit a file using sudo gedit using the terminal in Ubuntu
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.

gedit is a Lightweight editing tool for the GNOME desktop found in many distributions of Linux, BSD and other Unix systems.
Related Links:
- http://www.gnome.org/projects/gedit/