From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Awareness of Emacs, Nano, and Vim

Awareness of Emacs, Nano, and Vim - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

Awareness of Emacs, Nano, and Vim

- [Instructor] There are multiple command line editors for Linux, Nano is one of the simplest to get started with. All keys with the exception of Control and Meta key sequences will enter text into the file being created. To open a text file in Nano we'll need to start Nano in the terminal, we're passing the dash U option to enable the Undo feature. Type in Nano dash U space nanofile.txt and hit Enter. This will use Nano to open a file in our current directory named nanofile.txt. Don't worry if it doesn't exist as Nano will create it for us when we Save. Once Nano opens we'll see at the top of the screen the version of Nano we're using and then in the center the path and file name of the document we're editing. At the bottom we have a visual menu of functions. Let's add some text first before exploring the interface. Type in line one and line two and hit Enter. To get help in Nano type left Control G and we can see that we have…

Contents