课程: Practical Linux for Network Engineers: Part 1
免费学习该课程!
今天就开通帐号,24,700 门业界名师课程任您挑!
nano overview and shortcuts - Linux教程
课程: Practical Linux for Network Engineers: Part 1
nano overview and shortcuts
- [Instructor] An alternative editor to vi is nano, which you often find on Ubuntu systems. nano is a lot easier to use when getting started with Linux. So I suggest you use this first, but the issue with nano is it's not installed on all systems. You'll most likely find that vi or vim is installed on any and every Linux system you work on, but nano won't necessarily be. So you may be forced to use vi, but to get started and get comfortable with Linux start with nano, but make sure that you also learn vi. With nano you are immediately in edit mode. So you don't have to remember to go from command mode to edit mode or insert mode and then back again. You also have options such as exit, where is, cut, go to line, and so forth are shown here. So you don't have to remember key strokes. So Control + X and Y to save and overwrite the file. Open the file again, and there you go. It's very easy to use nano. So as an example, nano etc network interfaces. Down key, up key, Control + W, search…