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 - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Understand the differences between basic and extended regular expressions3m 38s
-
(Locked)
Matching characters and words with regexes3m 5s
-
(Locked)
Specifying occurrences with regexes1m 56s
-
(Locked)
Alternation and grouping with regexes3m 21s
-
(Locked)
Back references and subexpressions1m 48s
-
(Locked)
Search text using regular expressions5m 31s
-
(Locked)
Use regular expressions to delete, change, and substitute text5m 16s
-
(Locked)
Awareness of Emacs, Nano, and Vim2m 49s
-
(Locked)
An introduction to Vim3m 33s
-
(Locked)
Edit text in Vim2m 45s
-
(Locked)
Search and replace in Vim2m 26s
-
(Locked)
-
-
-
-