To copy a file using secure copy scp
Syntax → scp <username>@<IP_ADDRESS>:<path/to/file/on/that/machine> <where/to/save>
Example → scp [email protected]:Documents/code3d.tar .
To untar (extract) a .tar file
Syntax → tar -xvf filename.tar
emacsCtrl + xAlt + xC-p → Move up by one lineC-b → Move left by one characterC-f → Move right by one characterC-n → Move down by one lineC-a → Go to the beginning of the current lineC-e → Go to the end of the current lineC-v → Move forward one screenM-< → Move to the first line of the fileM-b → Move left to the previous wordM-f → Move right to the next wordM-> → Move to the last line of the fileM-a → Move to the beginning of the current sentenceM-e → Move to the end of the current sentenceM-v → Move back one screenemacs commandsemacs
C-x C-s → Save buffer to the fileC-z → Exit emacs but keep it runningC-x C-c → Exit emacs and stop itC-s → Search forwardC-r → Search backwardM-x → Replace stringM-backspace → Cut the word before the cursorM-d → Cut the word after the cursorC-k → Cut from the cursor to the end of the lineM-k → Cut from the cursor to the end of the sentenceC-y → Paste the content at the cursor