课程: Linux Tips

免费学习该课程!

今天就开通帐号,24,700 门业界名师课程任您挑!

Working with text: nano 101

Working with text: nano 101 - Linux教程

课程: Linux Tips

Working with text: nano 101

- [Narrator] On Linux, there are a handful of text editors, and veteran command-line users often have very strong opinions about which one is good, and which others are bad. Opinions are fine, but it's best to be flexible and know enough about each of them to use them if you need to. The first editor I'll show you in this series is called Nano, and it's a lightweight text editor that's pretty straightforward to use, whereas other text editors like Vim and Emacs have a huge array of options, modes, and special features, and editors like ed are a bit spartan. Nano is right in the middle when it comes to features and ease of use. If you don't have Nano installed on your system, you can install it with your package manager. To start Nano, use the command nano, by itself if you want to start with an empty buffer, or with the name of a text file if you want to create or edit one with a specific name. Across the top of the interface there's a bar that has the version of Nano, and the name of…

内容