A key design principle of Linux is that information is stored in text-based files. Text files include
both flat files with rows of similar information, such as configuration files in /etc, and Extensible Markup Language (XML) files, which define data structure through text tags, seen in application configuration files throughout both /etc and /usr. The advantage of text files is that they can be moved or shared between systems without requiring conversion, and can be viewed and edited using any simple text editor.
Vim is an improved version of the vi editor distributed with Linux and UNIX systems. Vim is highly
configurable and efficient for practiced users, including such features as split screen editing, color formatting, and highlighting for editing text.
When first opened, Vim starts in command mode, used for navigation, cut and paste, and other text manipulation. Enter each of the other modes with single character keystrokes to access specific editing functionality
[First of all you need to install Vim if you are not already, simply type yum install vim to install vim editor]
Watch Video Tutorial
both flat files with rows of similar information, such as configuration files in /etc, and Extensible Markup Language (XML) files, which define data structure through text tags, seen in application configuration files throughout both /etc and /usr. The advantage of text files is that they can be moved or shared between systems without requiring conversion, and can be viewed and edited using any simple text editor.
Vim is an improved version of the vi editor distributed with Linux and UNIX systems. Vim is highly
configurable and efficient for practiced users, including such features as split screen editing, color formatting, and highlighting for editing text.
When first opened, Vim starts in command mode, used for navigation, cut and paste, and other text manipulation. Enter each of the other modes with single character keystrokes to access specific editing functionality
[First of all you need to install Vim if you are not already, simply type yum install vim to install vim editor]
- An i keystroke enters insert mode, where all text typed becomes file content. Pressing Esc returns to command mode.
- A v keystroke enters visual mode, where multiple characters may be selected for text manipulation.
- The : keystroke begins extended command mode for tasks like writing the file to save it, and quitting the Vim Editor.
- Enter : w to write (save) the file and remain in command mode for more editing.
- Enter : wq to write the file and quit Vim.
- Enter : q! to quit Vim, but discard all file changes since the last write.
- In Vim, copy and paste is known as yank and put, using command characters y and p. Begin by Positioning the cursor on the first character to be selected, then enter visual mode. Use arrow keys to expand the visual selection. When ready, press y to yank the selection into memory. Position the cursor at the new location, then press p to put the selection at the cursor.
Watch Video Tutorial
Tech info |
Nice Article and it is very useful. If you want I can share article to you related to technology.
ReplyDeleteGood job . Help full post
ReplyDeleteAnd it is working too........
In a word your website is osam
SEO , science and online earning
nice article thanks for sharing see more about me on my site earntouch
ReplyDeleteThis comment has been removed by a blog administrator.
ReplyDeleteHow to fix Epson l3110 printer all lights blinking problem & Service Required Solution & Download link: Epson L3110 Resetter
ReplyDeleteEpson L3115 Resetter
Epson L3150 Resetter
Epson L380 Resetter
Epson L3210 Resetter