The purpose of this this is to document every day commands we use in the terminal on linux based systems.
(we'll use ZSH as our shell)
The directory on the left is where you're coping FROM
scp -r /YOUR_LOCAL_DIRECTORY YOUR_USER_NAME@REMOTE_SERVER_IP:REMOTE_SERVER_DIRECTORY
tar -zcvf archive-name.tar.gz directory-name
tar -zxvf COMPRESSED_FILE_NAME.tar.gz -C /YOUR_DESIRED_DIRECTORY
Screen is screen/terminal manager for linux. This allows you to continue any running process you begin through an SSH session
To begin a screen session, type the following: screen -S NAME_OF_YOUR_SESSION
To detach a screen session, type the following: CTRL + A
and then CTRL+ D
To bring back a screen session, type the following: screen -r NAME_OF_YOUR_SESSION