Difference between revisions of "Class 1 09/06/2011"
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
− | ===to redirect output to | + | ===to redirect output to file=== |
./rndtest > data.txt | ./rndtest > data.txt |
Revision as of 20:53, 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
- cp -R ~foretony/NucSim/Day1 ./
- export ROOTSYS=~foretony/src/ROOT/root (do not really needed now, root can start without that)
to redirect output to file
./rndtest > data.txt