EGEE-III INFSO-RI Enabling Grids for E-sciencE Apr. 25, Grid Computing Hands On Training for Users Faculty of Sciences, University of Novi Sad BASIC LINUX SHELL COMANDS Branimir Ackovic Scientific Computing Laboratory Institute of Physics Belgrade Serbia Grid Computing Hands On Training for Users
Enabling Grids for E-sciencE EGEE-III INFSO-RI Brief History of Linux
Enabling Grids for E-sciencE EGEE-III INFSO-RI Grid Computing Hands On Training for Users 3 ls - list directory contents $ ls [OPTION]... [FILE]... $ man ls $ ls -a $ ls -l $ ls -lh $ ls -1 $ ll
Enabling Grids for E-sciencE EGEE-III INFSO-RI pwd - print name of working directory Print the full filename of the current working directory. $ pwd
Enabling Grids for E-sciencE EGEE-III INFSO-RI cd - change directory $cd path absolute and relative path/addressing. - current folder.. - folder up ~ - home folder / - system root
Enabling Grids for E-sciencE EGEE-III INFSO-RI mkdir - make directories Create the DIRECTORY(ies), if they do not already exist. $mkdir path/dir_name
Enabling Grids for E-sciencE EGEE-III INFSO-RI cp – copy Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. $ cp $ cp -a $ cp -r
Enabling Grids for E-sciencE EGEE-III INFSO-RI mv-move Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. $ mv
Enabling Grids for E-sciencE EGEE-III INFSO-RI rm – remove Remove files or directories. $ rm $ rm -r $ rm -f
Enabling Grids for E-sciencE EGEE-III INFSO-RI permissions and ownership -rw-r--r-- 1 scl users :51 linux $ chmod ugo+w $ chown username:groupname
Enabling Grids for E-sciencE EGEE-III INFSO-RI cat - concatenate files and print on the standard output Concatenate FILE(s), or standard input, to standard output. $ cat [OPTION] [FILE]...
Enabling Grids for E-sciencE EGEE-III INFSO-RI less $ less / - find q – quit
Enabling Grids for E-sciencE EGEE-III INFSO-RI joe – Joe's Own Editor $ joe CTRL+k h – help on/off CTRL+c – exit CTRL+k s – save CTRL+k x – save and exit
Enabling Grids for E-sciencE EGEE-III INFSO-RI secure shell $ ssh $ ssh command
Enabling Grids for E-sciencE EGEE-III INFSO-RI secure copy $ scp $ scp -r
Enabling Grids for E-sciencE EGEE-III INFSO-RI other usefull comands $ ps $ ps aux $ top $ kill