VI EDITOR BASICS IN LINUX / UNIX || LEARN VI EDITOR COMMANDS || LINUX || UNIX
94.3 هزار بار بازدید -
3 سال پیش
-
VI EDITOROPENING EDITORvi - editor
VI EDITOR
OPENING EDITOR
vi - editor will be opened without any filename
vi filename - editor will be opened with given filename
MODES OF VI EDITOR
command mode - pressing ESC
insert mode - pressing i / I
MOVING CURSOR WITHIN FILE
l - moving cursor towards left
h- moving cursor towards right
k-moving cursor up
j-moving cursor down
INSERTING TEXT
i-insert
a-insertion begin after cursor
A-insertion begins at end of line
o- inserts new line after cursor
O-inserts new line above cursor
COPY & PASTE
yy - copies the current line
p - paste the copied line
SAVE & QUIT
go to command mode by pressing ESC
:w - to save the content
:w filename - to save the content with filename
:q - quit the file
:q! - quit the file without saving the content
:wq - save the content and quit the file
----------------------------------------------------------------------------------------------------------------
LINUX TERMINAL (UBUNTU) IN WINDOWS 10 || HOW TO USE LINUX TERMINAL IN WINDOWS 10
LINUX TERMINAL (UBUNTU) IN WINDOWS 10...
HOW TO EXECUTE PROGRAMS (C & PYTHON) IN LINUX TERMINAL (UBUNTU) || UBUNTU
HOW TO EXECUTE PROGRAMS (C & PYTHON) ...
OPENING EDITOR
vi - editor will be opened without any filename
vi filename - editor will be opened with given filename
MODES OF VI EDITOR
command mode - pressing ESC
insert mode - pressing i / I
MOVING CURSOR WITHIN FILE
l - moving cursor towards left
h- moving cursor towards right
k-moving cursor up
j-moving cursor down
INSERTING TEXT
i-insert
a-insertion begin after cursor
A-insertion begins at end of line
o- inserts new line after cursor
O-inserts new line above cursor
COPY & PASTE
yy - copies the current line
p - paste the copied line
SAVE & QUIT
go to command mode by pressing ESC
:w - to save the content
:w filename - to save the content with filename
:q - quit the file
:q! - quit the file without saving the content
:wq - save the content and quit the file
----------------------------------------------------------------------------------------------------------------
LINUX TERMINAL (UBUNTU) IN WINDOWS 10 || HOW TO USE LINUX TERMINAL IN WINDOWS 10
LINUX TERMINAL (UBUNTU) IN WINDOWS 10...
HOW TO EXECUTE PROGRAMS (C & PYTHON) IN LINUX TERMINAL (UBUNTU) || UBUNTU
HOW TO EXECUTE PROGRAMS (C & PYTHON) ...
3 سال پیش
در تاریخ 1400/09/15 منتشر شده
است.
94,348
بـار بازدید شده