From the course: Learning Linux Command Line
Unlock the full course today
Join today to access over 23,200 courses taught by industry experts.
Edit text with nano - Linux Tutorial
From the course: Learning Linux Command Line
Edit text with nano
- Some Linux distributions include a lightweight text editor called nano. It can be installed on many other distros as well. It's quite a bit simpler than Vim, so many people prefer it, though it does lack some power user features that Vim enthusiasts will miss. We'll take a quick look here and I encourage you to explore the course Learning nano for more details. 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 caret character, the little upward angle, represents the control key as we saw earlier. So these key combinations are Control G for help, Control O for 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…
Contents
-
-
-
-
-
-
The Unix philosophy2m 29s
-
(Locked)
Use pipes to connect commands together2m 41s
-
(Locked)
View text files with cat, head, tail, and less4m 44s
-
(Locked)
Search for text in files and streams with grep4m 30s
-
(Locked)
Manipulate text with awk, sed, and sort6m 50s
-
(Locked)
Edit text with Vim4m 35s
-
(Locked)
Edit text with nano2m 49s
-
(Locked)
Working with tar and zip archives8m 17s
-
(Locked)
Challenge: Create and share a file28s
-
(Locked)
Solution: Create and share a file1m 48s
-
(Locked)
Output redirection5m 11s
-
(Locked)
Exploring environment variables and PATH3m 54s
-
(Locked)
Challenge: Extract information from a text file1m 8s
-
(Locked)
Solution: Extract information from a text file3m 28s
-
-
-