Day1 09/06/2011

From New IAC Wiki
Revision as of 05:31, 13 September 2011 by Shaproma (talk | contribs) (Created page with '[https://wiki.iac.isu.edu/index.php/Simulations_of_Particle_Interactions_with_Matter._Dr._Forest._Fall_2011 go back] [http://physics.isu.edu/~tforest/Classes/NucSim/Day1/RNG/Ma…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

go back


Here is a web link to the source files of Tony files


List of important Commands

  1. ls - list of files
  2. pwd - print working directory
  3. cd - change directory
  4. df - available space
    • df -h
  5. ssh - security shell, to login from one computer to other
    • ssh username@othercomputer
    • ssh shaproma@aztec.iac.isu.edu
  6. scp - security copy
    • scp mane@computer:filename (source) name@computer:filename
    • scp filename (source) name@computer:filename if file already in current comp
  7. mkdir - make directory
  8. printenv - print environment
  9. emacs, vi, vim
  10. make, gcc
  11. man - manual
    • man ls
  12. less simply to see the context of the file
  13. rm remove
  14. display m- make a screenshot
  15. 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
  • do not need now $ROOTSYS/bin/root
  • ls
  • cd Day1
  • make
  • ./rndtest
  • ./rndtest > data.txt //to redirect output of program to file

to copy files from physics.isu.edu/~tforest to aztec machine

to copy files from aztec machine to current machine in current folder (you are in current machine)

  • scp -r shaproma@aztec.iac.isu.edu:/home/shaproma/NucSim/Day1/ ./
  • scp -r shaproma@aztec.iac.isu.edu:/home/foretony/NucSim/Day1/ ./