introduction to linuxrich/crc_summer_scholars_2018/introtolinux.pdfwhat is linux? a free operating...

17
Introduction to Linux Steve Bogol [email protected]

Upload: others

Post on 27-Jun-2020

8 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Introduction to Linux

Steve Bogol [email protected]

Page 2: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Part I

What is Linux?

Page 3: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Linux Mainstream Video

Page 4: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Linux Nutshell

Page 5: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

What is Linux?

● A free operating system created by Linus Torvalds in 1991.● Based off of Unix using GNU tools and a kernel made by

Linus.● Originally called “Freax” (“free” + “freak” + “X”).● More focused on multiple users than a single user

(Windows/Mac).● Traditionally command line primary and GUI secondary.● Free to change and redistribute the changed version.

Page 6: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Distributions (distros)Wikipedia: A Linux distribution (often called a distro for short) is an operating system made from a software collection, which is based upon the Linux kernel and, often, a package management system.

Page 7: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Top 10 Distributions

1. Manjaro 2. Mint3. Ubuntu4. Elementary5. Debian6. MX Linux7. Fedora8. Solus9. OpenSuSE

10. CentOS

...according to distrowatch.com

Page 8: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Evolution of a Distro

Page 9: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

What Do Supercomputers Use?

www.top500.org

Page 10: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

What does the CRC use?

Mostly

A few

A couple

Page 11: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

End Part I

Disclaimer: Might not be real.

Page 12: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Part II

Using Linux Demo

Basics, Hints, & Tips

Page 13: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Shells

What is a shell?“Simply put, the shell is a program that takes your commands from the keyboard and gives them to the operating system to perform. In the old days, it was the only user interface available on a Unix computer. Nowadays, we have graphical user interfaces (GUIs) in addition to command line interfaces (CLIs) such as the shell.”-- linuxcommand.org

Page 14: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Connecting to a Remote Server● Connect using a SSH client.● A SSH client is standard on a Mac and Linux OS.● Windows users have to install a SSH client such as Putty.

Page 15: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Users & IPs

1. alopez22 10.32.12.1702. bchrist2 10.32.12.1733. cfink2 10.32.12.1804. cwaldro3 10.32.12.1715. dryan22 10.32.12.1726. dsmith58 10.32.12.1747. efan 10.32.12.1758. hlabonge 10.32.12.1779. jsolanor 10.32.12.185

10. kbettuzz 10.32.12.18311. lbachma2 10.32.12.18912. mperez22 10.32.12.18413. mprieto2 10.32.12.18814. mriley5 10.32.12.17615. ntshuma 10.32.12.17916. qwang22 10.32.12.18617. tmarchan 10.32.12.18718. wmccomis 10.32.12.178

Command: ssh [UserID]@10.32.12.xssh [email protected] 2018ChangeMe

Page 16: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

Live Demo Topics

● man● ls● tab complete● cd● mkdir● touch● cp● mv● rm● !● !$● history● vi● view● cat● grep● | (pipe)● echo

● > and >>● chmod● less● find● scp● clear● reset● wget (curl -o)● sudo● su● ping● host● which● for● env● variables● (x windows)● alias

Page 17: Introduction to Linuxrich/CRC_Summer_Scholars_2018/IntroToLinux.pdfWhat is Linux? A free operating system created by Linus Torvalds in 1991. Based off of Unix using GNU tools and a

FIN

Any Questions?