Linux stuff Flashcards
Login to cluster account on a pool pc ?
bin/login_at_hpc.sh USERNAME
USB stick with ssh key must be plugged into machine
Login to cluster account - if your keys have a different name, if spaces in file/folder names –> “permission denied” ?
ls -l .ssh/
ssh -i .ssh/myKey un@login1.hpc.uni-potsdam.de
Login to cluster account - from own laptop
ssh -i .ssh/myKey un@login1.hpc.uni-potsdam.de
Stevie:
ssh -i .ssh/id_ed25519 davies1@login1.hpc.uni-potsdam.de
cp
vs
scp?
scp - between machines
cp - within a machine
Start an interactive session when logged into cluster
–cpus-per-task=1 –mem=5G –pty bash
unzip a .gz file
gunzip [filename]
scp for seqbioinf lab
scp davies1@login1.hpc.uni potsdam.de:/work/davies1/seqbioinf/lab11/FILENAME “C:\Users\stevi\OneDrive\Desktop\BI Seqbioinf\lab_outputs”