aos linux tutorial
play

AOS Linux Tutorial Introduction to Linux Michael Havas Dept. of - PowerPoint PPT Presentation

AOS Linux Tutorial Introduction to Linux Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University September 15, 2011 Outline 1 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 2


  1. AOS Linux Tutorial Introduction to Linux Michael Havas Dept. of Atmospheric and Oceanic Sciences McGill University September 15, 2011

  2. Outline 1 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 2 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 3 The Command-Line The Filesystem File and Directory Management Globbing Finding Files Ownership and Permissions 4 Fun Tips 5 Next Time

  3. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  4. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  5. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  6. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  7. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  8. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  9. Why Linux? Free. Free. Scientific Software. Community. Security. Stability. Learn Linux, Learn *nix.

  10. What is Linux? A Unix-like operating system created by Linus Torvalds in 1991. Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

  11. What is Linux? A Unix-like operating system created by Linus Torvalds in 1991. Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

  12. What is Linux? A Unix-like operating system created by Linus Torvalds in 1991. Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

  13. What is Linux? A Unix-like operating system created by Linus Torvalds in 1991. Uses the GNU set of tools developed by Richard Stallman. Free and Open source under the GPL license. Not just a product but a collection of products.

  14. Why Free Software? When you use free software, you also get the freedom to study, copy, change and redistribute the source code. If you don’t like something, change it!

  15. Why Free Software? When you use free software, you also get the freedom to study, copy, change and redistribute the source code. If you don’t like something, change it!

  16. Outline 1 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 2 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 3 The Command-Line The Filesystem File and Directory Management Globbing Finding Files Ownership and Permissions 4 Fun Tips 5 Next Time

  17. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  18. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  19. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  20. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  21. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  22. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  23. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  24. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  25. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  26. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  27. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  28. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  29. Cross-Platform Applications Firefox. Thunderbird. VLC. OpenOffice. Pidgin. FileZilla. Google Earth. Picasa. Adobe Reader. Adobe Flash. Opera. Skype. Google Chrome.

  30. Applications in Windows and Linux Type Windows Linux Web Browser Internet Explorer Firefox Email Client Outlook Thunderbird File Transfer CuteFTP Filezilla Instant Messenger MSN Messenger Pidgin Media Player Windows Media Player VLC File Browser Windows Explorer Nautilus Raster Graphics Editor Photoshop The GIMP Vector Graphics Editor Illustrator Inkscape Office Suite Microsoft Office OpenOffice PDF Viewer Adobe Reader Evince Music Player Itunes Rhythmbox More equivalent applications http://www.linuxrsp.ru/win-lin-soft/table-eng.html

  31. The Graphical User Interface

  32. Outline 1 Introduction to Linux Benefits of Linux What Exactly is Linux? The Free-Software Philosophy 2 The Graphical User Interface Cross-Platform Applications Windows Applications and Their Linux Counterparts 3 The Command-Line The Filesystem File and Directory Management Globbing Finding Files Ownership and Permissions 4 Fun Tips 5 Next Time

  33. Why use the Command-Line? Fast. Efficient. Powerful. Scripting language. Remote access. Almost Anything you can do in the GUI, you can do on the command line: Listen to music. Read email. Browse the web. Watch movies (kinda: towel.blinkenlights.nl).

  34. The Filesystem One root to rule them all

  35. The Filesystem Different devices, same root

  36. Absolute vs Relative Paths Absolute vs Relative Absolute Starting from the root (/). Relative Starting from your working directory. Special Paths . The current directory. .. The parent of the current directory. On Linux, everything is case sensitive!

  37. Absolute vs Relative Paths An Example

  38. Getting Around Shortcuts Shortcuts $ { HOME } Your home directory. ∼ Your home directory. ∼ mhavas My home directory.

  39. Getting Around Commands ls List contents of directory. cd Change directory. pwd Print working/current directory. Tab-completion is your friend

  40. File and Directory Management Commans touch file Creates a file called file . mkdir dir Creates a directory dir . rm file Remove a file . rmdir dir Remove an empty directory dir . cp src dst Copies file from src to dst . mv src dst Moves file/dir from src to dst . du file Prints size of file in bytes. file file Prints what type of file file is. ln file link Creates a hard or soft link between file and link .

  41. File and Directory Management Useful Options Commands mkdir -p path Creates all directories if they do not exist in path . rm -r dir Removes all files and directories in dir including dir cp -a srcdir dstdir Copies directory and contents from srcdir to dstdir . ls -l Same as ls but gives more information. du -hs dir Prints size of directory and all contents in human-readable format. Getting Help For useful options and detailed help for almost any program, you can look at the manual for that specific command using: man command .

  42. File and Directory Management Links Soft Links Command: ln -s file link Creates a named link between file and link . Hard Links Command: ln file link Creates a physical link between file and link . Deletion is handled differently

  43. Globbing Allows you to select many items at once. * Match anything at any length. ? Match one character. [ ab ] Match characters a or b . { blah , foo } Match words blah or foo . ˆ glob Match anything but glob .

  44. Globbing Examples [mhavas@lappy tmp]$ ls a.1 b.1 c.1 t2.sh test1.txt [mhavas@lappy tmp]$ ls t?.sh

  45. Globbing Examples [mhavas@lappy tmp]$ ls a.1 b.1 c.1 t2.sh test1.txt [mhavas@lappy tmp]$ ls t?.sh t2.sh

  46. Globbing Examples [mhavas@lappy tmp]$ ls a.1 b.1 c.1 t2.sh test1.txt [mhavas@lappy tmp]$ ls t?.sh t2.sh [mhavas@lappy tmp]$ ls [ab]*

  47. Globbing Examples [mhavas@lappy tmp]$ ls a.1 b.1 c.1 t2.sh test1.txt [mhavas@lappy tmp]$ ls t?.sh t2.sh [mhavas@lappy tmp]$ ls [ab]* a.1 b.1

  48. Globbing Examples [mhavas@lappy tmp]$ ls a.1 b.1 c.1 t2.sh test1.txt [mhavas@lappy tmp]$ ls t?.sh t2.sh [mhavas@lappy tmp]$ ls [ab]* a.1 b.1 [mhavas@lappy tmp]$ ls [a-c]*

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend