From the course: Learning Linux Command Line

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Edit text with nano

Edit text with nano

- [Instructor] Some Linux distributions include a lightweight text editor called Nano. If it's not installed on your system, you can install it. It's quite a bit simpler than Vim, so some people prefer it, though it does lack some power user features that Vim enthusiasts would miss. Let's take a quick look at Nano. I'm working here in Ubuntu desktop, which comes with Nano already installed. In my terminal I'll type nano to launch Nano. Already we can see that Nano is a little bit more user friendly than Vim, especially because it provides a list of some common commands right at the bottom of the screen. The carrot character, that a little upward angle, represents the control key as we saw earlier. So some of these key combinations we see at the bottom of the screen are control G for help, control O to write out or save the file and so on. I'll write some text here. I can move around the screen, which is called the buffer with the arrow keys. The text navigation shortcuts I showed you…

Contents