Tutorials and How-tos/Edit Text Files with nano
Jump to navigation
Jump to search
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 keboard. You will be asked if you whant to save the changed. Press Y to do so.
All done!