Linux
Linux tips and tricks.
Vim Cheat Sheet
Vim Commands Cheat Sheet |
How to Exit
:q[uit] | Quit Vim. This fails when changes have been made. |
:q[uit]! | Quit without writing. |
:cq[uit] | Quit always, without writing. |
:wq | Write the current file and exit. |
:wq! | Write the current file and exit always. |
:wq {file} | Write to {file}. Exit if not editing the last Continue reading |
Bash shortcut Keys
Keyboard Shortcuts for Bash ( Command Shell for Ubuntu, Debian, Suse, Redhat, Linux, etc)
The default shell on most Linux operating systems is called Bash. There are a
VI Shortcut Keys
VI List of shortcut keys
Shortcut | Command |
Insert
VI |
|
i | Inserts text to the left of the cursor. |
I | Inserts text at the beginning of the line, no matter where the cursor is positioned on the Continue reading |