Chapter 10 Flashcards
Broadly speaking, text editors fall into one of what two categories
text-mode and GUI
The blank editor is a Unix staple. It’s small and usually installed by default, so you can be fairly certain that it’s present on any Linux computer
vi
Vi uses multiple blank, and you must switch between them to accomplish various tasks
editing modes
The blank editor is a big editor with lots of features, so it’s less likely to be installed by default on small, lightweight distributions
emacs
Several small editors are modeled after emacs but omit many of its advanced features. One of these editors is blank, which is small, lightweight and easy to use.
nano
The blank editor is both a text-mode editor, and a GUI editor
emacs
The GNOME desktop environment has an associated text editor known as blank
gedit
Blank and blank are editors that are associated with the K Desktop Environment (KDE).
KWrite and Kate
The blank editor is not tied to any particular desktop environment, and it’s small and lightweight. It also runs under other OSs than Linux.
Geany
What is the syntax to launch a nano file with a new document
nano filename.txt
Most editing programs have what three basic convention for displaying information
Title Bar
Status Bar
Shortcut List
In addition to control characters, nano uses blank to activate some functions. These key combinations use either the ESC, ALT of META key followed by another key.
metacharacters
What is the nano keystroke for copy?
M-6
What is the nano keystroke for paste?
Ctrl-U
What is the nano keystroke for cut?
Ctrl-K
What is the nano keystroke for go to the next line in the file?
Ctrl-N
What is the nano keystroke for help documentation?
Ctrl-G
What is the nano keystroke to move to the start of the file
M-/
Can you copy multiple lines and paste them all at the same time in nano?
yes
Pressing blank or blank enables you to insert another file into the current one at the cursor’s current position in nano
Ctrl-R or F5
In nano, pressing blank or blank activates a search feature
Ctrl-W or F6
In nano, you can replace one string with another by pressing blank or blank. The program prompts you to enter a search term and the term to take its place.
Ctrl+/ or M-R
In nano, one way to save a file is the CTRL-blank option
Ctrl-O
What nano command allows you to save and exit at the same time?
Ctrl-X
Blank was the first full-screen text editor written for Unix.
vi
A new version of Vi was created and called “vi improved” or blank.
vim
Although the vi editor is useful for editing configuration files, it shines in editing program files such as blank
shell scripts