Difference between revisions of "Class 1 09/06/2011"
Jump to navigation
Jump to search
Line 35: | Line 35: | ||
===what was done today=== | ===what was done today=== | ||
− | * ssh -Y shaproma@aztec.iac.isu.edu | + | * login to aztec ssh -Y shaproma@aztec.iac.isu.edu |
− | * cp -R ~foretony/NucSim/Day1 ./ | + | * mkdir NucSim |
− | * export ROOTSYS=~foretony/src/ROOT/root //to start root in aztec (do not really needed now, root can start without that) | + | * cd NucSim |
− | * $ROOTSYS/bin/root //to start root in aztec (do not really needed now, root can start without that) | + | * cp -R ~foretony/NucSim/Day1 ./ |
+ | * do not need now export ROOTSYS=~foretony/src/ROOT/root //to start root in aztec (do not really needed now, root can start without that) | ||
+ | * do not need now $ROOTSYS/bin/root //to start root in aztec (do not really needed now, root can start without that) | ||
+ | * ls | ||
+ | * cd Day1 | ||
+ | * make | ||
+ | * ./rndtest | ||
* ./rndtest > data.txt //to redirect output of program to file | * ./rndtest > data.txt //to redirect output of program to file | ||
Revision as of 16:55, 9 September 2011
Here is a web link to the source files of Tony files
List of important Commands
- ls - list of files
- pwd - print working directory
- cd - change directory
- df - available space
- df -h
- ssh - security shell, to login from one computer to other
- ssh username@othercomputer
- ssh shaproma@aztec.iac.isu.edu
- scp - security copy
- scp mane@computer:filename (source) name@computer:filename
- scp filename (source) name@computer:filename if file already in current comp
- mkdir - make directory
- printenv - print environment
- emacs, vi, vim
- make, gcc
- man - manual
- man ls
- less
- rm remove
- display m- make a screenshot
- ifconfig - to see you internet address
Emacs
learn Emacs!!!
what was done today
- login to aztec ssh -Y shaproma@aztec.iac.isu.edu
- mkdir NucSim
- cd NucSim
- cp -R ~foretony/NucSim/Day1 ./
- do not need now export ROOTSYS=~foretony/src/ROOT/root //to start root in aztec (do not really needed now, root can start without that)
- do not need now $ROOTSYS/bin/root //to start root in aztec (do not really needed now, root can start without that)
- ls
- cd Day1
- make
- ./rndtest
- ./rndtest > data.txt //to redirect output of program to file
how to copy Tony files from physics.isu.edu/~tforest to aztec machine
- ssh -Y shaproma@aztec.iac.isu.edu
- firefox
- go to http://physics.isu.edu/~tforest/Classes/NucSim/Day1/RNG/Marsaglia/noviceExample/
- save whatever do you want
- to see what you done
- ^Z
- bg