-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquick-learn-linux-vim-bashscript.html
More file actions
79 lines (79 loc) · 2.57 KB
/
Copy pathquick-learn-linux-vim-bashscript.html
File metadata and controls
79 lines (79 loc) · 2.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
Hello guys in this article, i'll be sharing with you some of my and other people's knowledge in some technologies that you may actually using right now, here you can find some useful shortcut and functions that can be useful for you if you are a student or someone else that he/she just got stuck trying to find the right <b>command line</b>.<br />
<br />
I encourage you who is reading this article to start taking notes about anything you are doing it will be useful for you first to find whatever you are looking for quickly and you can help other people to have this knowledge by sharing it with them if you are already doing this that's Awesome.<br />
<br />
Feel free to add more stuff or modify incorrect statements by contributing into this github repository<br />
<br />
Our actual contributors:<br />
<a href="https://github.com/SManral" target="_blank">Smriti SManral</a><br />
<br />
We are going to split this article into 3 parts :<br />
<a href="http://www.archaius.tk/2017/11/quick-learn-linux-vim-bashscript.html" rel="nofollow" target="_blank">Linux command lines</a><br />
<a href="http://www.archaius.tk/2017/11/quik-learn-bash-script.html" rel="nofollow" target="_blank">Bash Script command lines</a><br />
<a href="http://www.archaius.tk/2017/11/quik-learn-vim.html" rel="nofollow" target="_blank">Vim command lines</a><br />
<br />
Without further delay let's get started :)<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://webtechsharing.com/wp-content/uploads/2015/12/VI-Cheat-Sheet.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://webtechsharing.com/wp-content/uploads/2015/12/VI-Cheat-Sheet.png" data-original-height="561" data-original-width="700" height="512" width="640" /></a></div>
<br />
to delete line<br />
<br />
<ul>
<li><b>dd</b></li>
</ul>
<br />
to put deleted line to some position<br />
<br />
<ul>
<li><b>p</b></li>
</ul>
<br />
to move to end line of file<br />
<br />
<ul>
<li><b>G</b></li>
</ul>
<br />
to move to start line of file<br />
<br />
<ul>
<li><b>gg</b></li>
</ul>
<br />
to move to specific line<br />
<br />
<ul>
<li><b><no. of line>+G</b></li>
</ul>
<br />
to undo last change in line<br />
<br />
<ul>
<li><b>u</b></li>
</ul>
<br />
to redo change<br />
<br />
<ul>
<li><b>Ctrl+R</b></li>
</ul>
<br />
to find a word or phrase in file<br />
<br />
<ul>
<li><b>/+<string></b></li>
</ul>
<br />
to autocomplete a command<br />
<br />
<ul>
<li><b>TAB</b></li>
</ul>
<br />
to show line number<br />
<br />
<ul>
<li><b>:set number</b></li>
</ul>