User:Ellie/commands: Difference between revisions

From CommunityData
(Created page with "This page is to store cool command I find.")
 
mNo edit summary
Line 1: Line 1:
This page is to store cool command I find.
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
 
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

Revision as of 20:27, 9 March 2023

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

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