From the course: Practical Linux for Network Engineers: Part 1

Unlock this course with a free trial

Join today to access over 22,400 courses taught by industry experts.

nano overview and shortcuts

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…

Contents