Difference between revisions of "Class 1 09/06/2011"
Jump to navigation
Jump to search
(→to copy files from aztec machine to current machine in current folder (you are in current machine)) |
|||
| (19 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
==== List of important Commands==== | ==== List of important Commands==== | ||
| − | #ls - list of files | + | # ls - list of files |
| − | #pwd - print working directory | + | # pwd - print working directory |
| − | #cd - change directory | + | # cd - change directory |
| − | #df - available space | + | # df - available space |
| − | #*df -h | + | #* df -h |
| − | #ssh - security shell, to login from one computer to other | + | # ssh - security shell, to login from one computer to other |
#* ssh username@othercomputer | #* ssh username@othercomputer | ||
#* ssh shaproma@aztec.iac.isu.edu | #* ssh shaproma@aztec.iac.isu.edu | ||
| − | #scp - security copy | + | # scp - security copy |
#* scp mane@computer:filename (source) name@computer:filename | #* scp mane@computer:filename (source) name@computer:filename | ||
#* scp filename (source) name@computer:filename if file already in current comp | #* scp filename (source) name@computer:filename if file already in current comp | ||
| − | #mkdir - make directory | + | # mkdir - make directory |
| − | #printenv - print environment | + | # printenv - print environment |
| − | #emacs, vi, vim | + | # emacs, vi, vim |
| − | #make, gcc | + | # make, gcc |
| − | #man - manual | + | # man - manual |
| − | #*man ls | + | #* man ls |
| − | #less | + | # less simply to see the context of the file |
| − | #rm remove | + | # rm remove |
| − | #display m- make a screenshot | + | # display m- make a screenshot |
| + | # ifconfig - to see you internet address | ||
===Emacs=== | ===Emacs=== | ||
| Line 32: | Line 33: | ||
learn 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 | + | ===to copy 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 | ||
| − | ===to | + | ===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/ ./ | |
| − | |||
| − | |||
| − | ./ | ||
Latest revision as of 17:00, 12 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 simply to see the context of the file
- 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
- 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
- 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
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/ ./