Linux stuff Flashcards

1
Q

Login to cluster account on a pool pc ?

A

bin/login_at_hpc.sh USERNAME
USB stick with ssh key must be plugged into machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Login to cluster account - if your keys have a different name, if spaces in file/folder names –> “permission denied” ?

A

ls -l .ssh/
ssh -i .ssh/myKey un@login1.hpc.uni-potsdam.de

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Login to cluster account - from own laptop

A

ssh -i .ssh/myKey un@login1.hpc.uni-potsdam.de

Stevie:
ssh -i .ssh/id_ed25519 davies1@login1.hpc.uni-potsdam.de

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

cp

vs

scp?

A

scp - between machines
cp - within a machine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Start an interactive session when logged into cluster

A

–cpus-per-task=1 –mem=5G –pty bash

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

unzip a .gz file

A

gunzip [filename]

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

scp for seqbioinf lab

A

scp davies1@login1.hpc.uni potsdam.de:/work/davies1/seqbioinf/lab11/FILENAME “C:\Users\stevi\OneDrive\Desktop\BI Seqbioinf\lab_outputs”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly