Connect to server
ssh yuel5@hydra.stat.cmu.edu
Upload and download files
scp local_file yuel5@hydra.stat.cmu.edu:server_file
scp yuel5@hydra.stat.cmu.edu:server_file local_file
Useful Linux commands
mkdir -- create new folder
rm -- delete file
Run the commands of a txt file in terminal
sh terminal_commands.txt
Keep the job alive when the computer sleeps using screen
screen main.pyCtrl+A + Ctrl+D to detach from the screen sessionscreen riwqImport the functions in lasso_utils.py file on server:
Put lasso_utils.py in a subfolder called utils and add line
from utils.lasso_utils import *