Difference between revisions of "Class 1 09/06/2011"

From New IAC Wiki
Jump to navigation Jump to search
Line 33: Line 33:
 
learn Emacs!!!
 
learn Emacs!!!
  
===list of command to do every day===
+
===what was done today===
  
#ssh -Y shaproma@aztec.iac.isu.edu
+
# ssh -Y shaproma@aztec.iac.isu.edu //to login to aztec machine
 
+
# cp -R ~foretony/NucSim/Day1 ./   //to copy first day lesson
===to copy first day lesson===
+
# export ROOTSYS=~foretony/src/ROOT/root  //to start root in aztec  (do not really needed now, root can start without that)
#cp -R ~foretony/NucSim/Day1 ./
+
# $ROOTSYS/bin/root   //to start root in aztec  (do not really needed now, root can start without that)
 
+
# ./rndtest > data.txt
===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
 
  
  

Revision as of 16:47, 9 September 2011

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
  13. rm remove
  14. display m- make a screenshot
  15. ifconfig - to see you internet address

Emacs

learn Emacs!!!

what was done today

  1. ssh -Y shaproma@aztec.iac.isu.edu //to login to aztec machine
  2. cp -R ~foretony/NucSim/Day1 ./ //to copy first day lesson
  3. export ROOTSYS=~foretony/src/ROOT/root //to start root in aztec (do not really needed now, root can start without that)
  4. $ROOTSYS/bin/root //to start root in aztec (do not really needed now, root can start without that)
  5. ./rndtest > data.txt


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

  1. ssh -Y shaproma@aztec.iac.isu.edu
  2. firefox
  3. to see what you done
    • ^Z
    • bg