Tutorials and How-tos/Edit Text Files with nano
< Tutorials and How-tos
Jump to navigation
Jump to search
Revision as of 12:46, 4 September 2010 by Dmitri Popov (talk | contribs) (moved Howto/Basic textfile editing to Howto/Edit Text Files with nano)
For simple editing of text files you could use the editor called nano.
To edit the Debian sources file, type:
nano /etc/apt/sources.list
The file then opens in the nano editor.
When done editing, press Ctrl + X on your keyboard. You will be asked if you want to save the changed. Press Y to do so.
All done!