nano (Better than vi)
sudo nano /etc/apache2/sites-enabled/000-default
vi
sudo vi /boot/cmdline.txt
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.
9 years ago
I disagree that nano is “better than vi”. Only if you’re not familiar with it! vi/vim is much more powerful if you know what you’re doing.
4 years ago
I perfectly agreed that vi is by far a more powerful editor than nano, after one assimilates its quirks and shortcuts combinations, but, “better” in this context must be interpreted as being more intuitive and graphical alike for newbies (and is for they that this tutorials are aimed).
4 years ago
Fair comments both, we meant better in the sense of can be used quickly and simply without having to learn a whole heap about it and as you say John for users who want to just edit some text and crack on – better is probably a bad choice of word!