<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3604421695635688338</id><updated>2024-09-08T06:20:43.170-07:00</updated><category term="Linux Introduction"/><title type='text'>Linux is Simple to Learn</title><subtitle type='html'>Step by step learning about Linux Operating System, its very easy and simple to learn Linux system</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxissimple.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604421695635688338/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://linuxissimple.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05855066028173062633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3604421695635688338.post-3263103290535484345</id><published>2011-09-13T03:14:00.000-07:00</published><updated>2013-02-08T01:50:07.822-08:00</updated><title type='text'>Linux Text Editor : vi editor</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: #b45f06;&quot;&gt;Visual Editor&lt;/span&gt;&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
Popular text editors for Linux configuration files include emacs, pico, joe and &lt;b&gt;vi&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
While emacs may be the most popular text editor in the world of Linux, every administrator needs at least a basic knowledge of &lt;b&gt;vi&lt;/b&gt;. While emacs may be more popular and flexible, &lt;b&gt;vi &lt;/b&gt;may help you save a broken system. If you ever have to restore a critical configuration file using an emergency boot floppy, &lt;b&gt;vi&lt;/b&gt; is probably the only editor that you will have available.&lt;br /&gt;
&lt;br /&gt;
In reality, RHEL 3 uses enhanced version of &lt;b&gt;vi&lt;/b&gt; editor know as &lt;b&gt;vim. &lt;/b&gt;It adds color to different types of variables in key configuration files such as &lt;b&gt;/etc/fstab. &lt;/b&gt;&lt;u&gt;All regular vi command work in vim editor&lt;/u&gt;. While you can remove coloring in vim editor with &lt;b&gt;:nohl &lt;/b&gt;command, this detail does not effect your ability to manage your Linus System.&lt;br /&gt;
&lt;br /&gt;
You need to know how to restore the system from rescue floppy, which does not have enough room to carry any editor other than vi.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;&lt;b&gt;Basic Modes of vi editor:&lt;/b&gt;&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
1) Command mode&lt;br /&gt;
2) Insert mode&lt;br /&gt;
&lt;br /&gt;
1) Command mode: When you use vi to open a file, it opens in command mode.&lt;br /&gt;
Opening is file is easy : &lt;b&gt;vi filename &lt;/b&gt;command, by default it starts in command mode.&lt;br /&gt;
&lt;br /&gt;
Example : vi /etc/passwd&amp;nbsp; file shown in figure :&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBmKG8w80sJ4SOgAS1iiDC-xxw5OKihtxlIOsvunQ58TzlyWezBjs2MAjlMzlCFjRHxc8SY_m-H4IO1j_ISBNvU0hNjHuRHHYlWyhT2VhDOpDMFVc574Z1fnPzNJsCeqG72Ky0FZm-YA_O/s1600/Vi+etcpasswd.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;504&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBmKG8w80sJ4SOgAS1iiDC-xxw5OKihtxlIOsvunQ58TzlyWezBjs2MAjlMzlCFjRHxc8SY_m-H4IO1j_ISBNvU0hNjHuRHHYlWyhT2VhDOpDMFVc574Z1fnPzNJsCeqG72Ky0FZm-YA_O/s640/Vi+etcpasswd.JPG&quot; width=&quot;640&quot; /&gt;&lt;/a&gt; &lt;/div&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;1) Insert mode: After open the file /etc/passwd with vi press i for insert mode&lt;br /&gt;
vi /etc/passwd ------------&amp;gt; then press i or o, o is opens new line bellow the current position of cursor,now vi in insert mode in insert mode you can add or edit the file then follow then commands for vi command mode:&lt;br /&gt;
&lt;br /&gt;
1) :wq save the file and quit&lt;br /&gt;
2) :q exit file without saving&lt;br /&gt;
3) :q! if you want to abandon any changes that you have made&lt;br /&gt;
&lt;br /&gt;
Press Esc to Normal mode then &lt;br /&gt;
4) x to delete current highlighted charector&lt;br /&gt;
5) dd to delete current highlighted line&lt;br /&gt;
6) dw to delete current highlighted word&lt;br /&gt;
7) / to forward search and ? to backward search&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxissimple.blogspot.com/feeds/3263103290535484345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxissimple.blogspot.com/2011/09/linux-text-editor-vi-editor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604421695635688338/posts/default/3263103290535484345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604421695635688338/posts/default/3263103290535484345'/><link rel='alternate' type='text/html' href='http://linuxissimple.blogspot.com/2011/09/linux-text-editor-vi-editor.html' title='Linux Text Editor : vi editor'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05855066028173062633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBmKG8w80sJ4SOgAS1iiDC-xxw5OKihtxlIOsvunQ58TzlyWezBjs2MAjlMzlCFjRHxc8SY_m-H4IO1j_ISBNvU0hNjHuRHHYlWyhT2VhDOpDMFVc574Z1fnPzNJsCeqG72Ky0FZm-YA_O/s72-c/Vi+etcpasswd.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3604421695635688338.post-2429707647535309319</id><published>2011-09-13T02:12:00.000-07:00</published><updated>2011-09-13T02:12:27.893-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux Introduction"/><title type='text'>Linux is simple to learn!</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
Hi Fiends,&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
Linux is very simple to learn, so many thinking and saying Linux if very difficult to learn or operate. Linus is also available for free of cost from open source.&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
Linux or Unix are managed through a series of text files. Linux administrators do not normally use graphic editors to manage these configuration files. Editors such as a WordPerfect, StartOffice and yes, even Microsoft Word normally saves file in a binary format that Linux can&#39;t read.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
Popular text editors for Linux configuration files include emacs, pico, joe and vi.&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #20124d;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #20124d;&quot;&gt; We will go step by step to learn Linux Simple!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
Thanking you,&lt;/div&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
Ramakrishna&lt;/div&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
8099955794&lt;/div&gt;
&lt;div style=&quot;color: #3d85c6;&quot;&gt;
raamunetworking@gmail.com&lt;/div&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;emailtoraamu@gmail.com&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://linuxissimple.blogspot.com/feeds/2429707647535309319/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://linuxissimple.blogspot.com/2011/09/linux-is-simple-to-learn.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3604421695635688338/posts/default/2429707647535309319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3604421695635688338/posts/default/2429707647535309319'/><link rel='alternate' type='text/html' href='http://linuxissimple.blogspot.com/2011/09/linux-is-simple-to-learn.html' title='Linux is simple to learn!'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/05855066028173062633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Hyderabad, Andhra Pradesh, India</georss:featurename><georss:point>17.385044 78.486671</georss:point><georss:box>16.8993975 77.854957 17.870690500000002 79.118385</georss:box></entry></feed>