Upload
baran19901990
View
37
Download
0
Embed Size (px)
DESCRIPTION
Citation preview
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