1
Running background process: sleep 10 sleep 10 & Kill process: kill %jobnumber Vim enviroment editor (Insert → Allows typing and editing as normal/Visual → Used for selecting copy/paste/Normal → use command): I → insert->normal x → delete the char under the cursor :wq → save and delete dd → delete the current line p → paste yy → copy the current line :e → <path/to/file> → open :w → save :q! → destroy and quit any changes made :wq → write changes (save) and exit :q → quit if no change were made :x → similar to :wq, only write the file if changes were made, then quit ^ → go to the first non-blank character C-v → start block selection C-d → move down I--[ESC] → write – to comment each line Complention in Vim In insert mode, type [C-p] Visual selection: v,V,[C-v] J → join all the lines together < (resp. >) → indent to the left = → auto indent:q:q! GIT: git add → add file changed into stage git commit → commit cac file da add vao stage len repository o local Lam viec tren server: push → push thay doi tu repository local to repository server fetch → cap nhat thay doi tu respository server ve respository local pull/rebase → sao chep source code tu server ve local workspace

Linux notification

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Linux notification

Running background process: sleep 10 sleep 10 &

Kill process: kill %jobnumber

Vim enviroment editor (Insert → Allows typing and editing as normal/Visual → Used for selecting copy/paste/Normal → use command):

I → insert->normalx → delete the char under the cursor:wq → save and deletedd → delete the current linep → pasteyy → copy the current line:e → <path/to/file> → open:w → save:q! → destroy and quit any changes made:wq → write changes (save) and exit:q → quit if no change were made:x → similar to :wq, only write the file if changes were made, then quit

^ → go to the first non-blank characterC-v → start block selectionC-d → move downI--[ESC] → write – to comment each line

Complention in VimIn insert mode, type [C-p]

Visual selection: v,V,[C-v]J → join all the lines together< (resp. >) → indent to the left= → auto indent:q:q!

GIT: git add → add file changed into stagegit commit → commit cac file da add vao stage len repository o local

Lam viec tren server:push → push thay doi tu repository local to repository serverfetch → cap nhat thay doi tu respository server ve respository localpull/rebase → sao chep source code tu server ve local workspace