Text Editors Flashcards
1
Q
What are the types of editors?
A
- Line Editor
a. ed
b. ex - Terminal Editors
a. pico , ai)nano
b. vi
c. emacs - GUI Editors
a. KDE –> kate, kwrite
b. Gnome— >gedit
c. sublime
d. atom
e. brackets - IDE
a. eclipse
b. Bluefish
c. NetBeans
2
Q
What are the expected features of an editor?
A
3
Q
A
4
Q
A
5
Q
A
6
Q
A
7
Q
A
8
Q
A
9
Q
A
10
Q
A
11
Q
A
12
Q
A
13
Q
What command is used to check the path of pico or nano editors?
A
which pico
which nano
14
Q
how to open a file for editing with nano / pico editor?
A
nano <filename>
pico <filename></filename></filename>
15
Q
What are the modes of vi editor?
A
- Command mode (Esc)
- Insert Mode ( i,I ,o, O ,a, A)
- ex mode (:)
16
Q
How to activate line numbers in vi editor?
A
use command se nu
to turn off use command se nonu
17
Q
What is secure copy ?
A
18
Q
how to unzip a tar file ?
A
tar -xvf code3d.tar
19
Q
What does command dmsg do?
A
dmsg displays all error system messages
we could save this as a file using redirection like
dmsg > dmsg.txt
20
Q
A