Text Editors RHEL -6
=================
As the name suggest, text editors are files or programs that are used for editing the plain text files.
In Windows such programs are known as “notepads” software.
Text editors are provided with the operating system and software development packages, and can be used to change the configuration files, documentation files and programming languages source code.
In linux there are basically two main types of text editors : vi --visual and vim -visual Improved-.
Vi Visual Editor
=======================
Pronounced as vee-eye.
It provides basic text editing capabilities.
There are two mode in Vi : Insert mode and Command Mode.
It begins with command mode. We can switch to the insert mode by pressing i.
i is used to open the insert mode whereas Esc can be used to switch back to the command mode.
We can type whatever e want in the insert mode.
q! is used to exit without saving the text
wq! Is used to save and exit.
w! Is used to save the file.
Commands for vi and vim
==========================
i : For insert mode.
Esc : For command mode.
w : To save the file after exiting insert mode.
q : Exit without save.
wq : Save and exit.
q! : Forcefully exit.
wq! : Forcefully save and exit.
yy : copy vi mode.
dd : deleting or cutting a particular line.
p : Paste
yy : Copy 1 line.
4yy : Copy 4 lines.
dd : Delete 1 line.
4dd : Delete 4 lines.
yw : Copy 1 word.
Shift + g : Go to the end of the page.
u : Undo
Ctrl + r : Redo
NOTE : All these commands are given in thee command mode.
Managing files from the command line
======================================
Create a file and add some characters to it.
#head "filename" : To show top 10 lines.
#head –n 5 "filename" : To show top 5 lines.
#tail "filename" : To show bottom 10 lines.
#tail –n 5 "filename" : To show bottom 5 lines.
FOR EXAMPLE : Lets create a file and name it as testing.
More information:
=================
watch our video tutorial or
visit: www.kazipurit.blogspot.com
or
/ monarulislam
На этой странице сайта вы можете посмотреть видео онлайн Linux Text Editor- Bangla tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Md Monarul Islam 22 Август 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 493 раз и оно понравилось 7 зрителям. Приятного просмотра!