Presentation is loading. Please wait.

Presentation is loading. Please wait.

EGEE-III INFSO-RI-222667 Enabling Grids for E-sciencE Apr. 25, 2009 www.eu-egee.org Grid Computing Hands On Training for Users Faculty of Sciences, University.

Similar presentations


Presentation on theme: "EGEE-III INFSO-RI-222667 Enabling Grids for E-sciencE Apr. 25, 2009 www.eu-egee.org Grid Computing Hands On Training for Users Faculty of Sciences, University."— Presentation transcript:

1 EGEE-III INFSO-RI-222667 Enabling Grids for E-sciencE Apr. 25, 2009 www.eu-egee.org Grid Computing Hands On Training for Users Faculty of Sciences, University of Novi Sad BASIC LINUX SHELL COMANDS Branimir Ackovic acko@scl.rs Scientific Computing Laboratory Institute of Physics Belgrade Serbia Grid Computing Hands On Training for Users

2 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 Brief History of Linux

3 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 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

4 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 pwd - print name of working directory Print the full filename of the current working directory. $ pwd

5 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 cd - change directory $cd path absolute and relative path/addressing. - current folder.. - folder up ~ - home folder / - system root

6 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 mkdir - make directories Create the DIRECTORY(ies), if they do not already exist. $mkdir path/dir_name

7 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 cp – copy Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY. $ cp $ cp -a $ cp -r

8 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 mv-move Rename SOURCE to DEST, or move SOURCE(s) to DIRECTORY. $ mv

9 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 rm – remove Remove files or directories. $ rm $ rm -r $ rm -f

10 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 permissions and ownership -rw-r--r-- 1 scl users 180 2008-11-17 14:51 linux $ chmod ugo+w $ chown username:groupname

11 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 cat - concatenate files and print on the standard output Concatenate FILE(s), or standard input, to standard output. $ cat [OPTION] [FILE]...

12 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 less $ less / - find q – quit

13 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 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

14 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 secure shell $ ssh username@host.domain $ ssh username@host.domain command

15 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 secure copy $ scp user@host.domain:path/file user1@host1.domain1:path1/file1 $ scp -r

16 Enabling Grids for E-sciencE EGEE-III INFSO-RI-222667 other usefull comands $ ps $ ps aux $ top $ kill


Download ppt "EGEE-III INFSO-RI-222667 Enabling Grids for E-sciencE Apr. 25, 2009 www.eu-egee.org Grid Computing Hands On Training for Users Faculty of Sciences, University."

Similar presentations


Ads by Google