User:Ellie/commands

From CommunityData

How to Copy Data from Hyak to Local Machine:

scp hyak: /[paste from[pwd]/nameoffile .

Other useful stuff:

any_machine: for a workspace node

[program] [written program or script] : pick a program and run it with this. Example: python3 make_wikiq_runs_nopersistence-20230309.py

htop: to see what is happening on machines

parallel: to use all machines at once

cat more less: to view what is inside a file

ls -l : show how many lines

wc -l: word count by lines

ls -s : show size

ls -sh : show size in human legibility

cwd :current working directory

pwd :print working directory

gwd : get working directory

cd : change directory

cd ../ : change directory back one

rm : remove

-rm : remove a directory Bonus

curl http://wttr.in/ : to see the weather