Difference between revisions of "Class 1 09/06/2011"
Jump to navigation
Jump to search
Line 45: | Line 45: | ||
===to redirect output to file=== | ===to redirect output to file=== | ||
./rndtest > data.txt | ./rndtest > data.txt | ||
+ | |||
+ | |||
+ | ===how to copy to aztec=== | ||
+ | # login to aztex | ||
+ | # firefox | ||
+ | # http://physics.isu.edu/~tforest/Classes/NucSim/Day1/RNG/Marsaglia/noviceExample/ |
Revision as of 21:07, 6 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
Emacs
learn Emacs!!!
list of command to do every day
- ssh shaproma@aztec.iac.isu.edu
to copy first day lesson
- cp -R ~foretony/NucSim/Day1 ./
to start root in aztec (do not really needed now, root can start without that)
- export ROOTSYS=~foretony/src/ROOT/root
- $ROOTSYS/bin/root
to redirect output to file
./rndtest > data.txt
how to copy to aztec
- login to aztex
- firefox
- http://physics.isu.edu/~tforest/Classes/NucSim/Day1/RNG/Marsaglia/noviceExample/