Skip to content

Commit

Permalink
Added tl;dr demo code
Browse files Browse the repository at this point in the history
  • Loading branch information
kmishra9 committed Sep 19, 2018
1 parent 1f97872 commit 4e0b542
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Savio_Demo_Code_First_Half.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Logging in
ssh [email protected]

# Password = PIN + OTP

# SCP to Savio, while on your local machine
scp bayArea.csv [email protected]:~/
scp bayArea.csv [email protected]:~/SavioDemo/newName.csv
scp bayArea.csv [email protected]:/global/scratch/kmishra9/bayArea.csv

# from Savio, while on your local machine
scp [email protected]:~/SavioDemo/newName.csv ~/"F18 Savio Demo"/bayArea.csv

# Box lftp Demo
ssh [email protected]
lftp ftp.box.com
set ssl-allow true
user [email protected]

# NOT the same as your CalNet password or Savio Login Password -- you need to set this up seperately from within your Box Account Settings!

lpwd # on Savio
ls # on box
!ls # on Savio
cd ~/ # on box
lcd ~/ # on savio
put parallel-multi.R # Savio to box
get bayAreaBox.csv # Box to Savio

# to download a directory from Box to Savio
cd ~/ # on box
mirror SavioDemoBox ~/

# Software Modules
module list # what's loaded?
module avail # what's available

0 comments on commit 4e0b542

Please sign in to comment.