Introduction to Linux Workshop and History: A Brief Overview

Slide Note
Embed
Share

Delve into the world of Linux with an introduction to its basics, operating system functionalities, and a quick history lesson from the Unix roots to the release of Linux. Explore the significance of Linux as an operating system and the evolution of computing. Get insights into key milestones like Unix development and the inception of Linux in 1991.


Uploaded on Oct 08, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. Introduction to Linux Workshop February 15, 2016

  2. George Garrett & The HPC Support Team Research Computing Services CUIT

  3. Introduction Linux Basics (Scripting is next week)

  4. Introduction Session: Slides + Hands-on

  5. Introduction Please Leave Feedback

  6. Introduction What is Linux?

  7. Introduction to Linux What is Linux? Linux is an operating system.

  8. Introduction to Linux What is Linux? Linux is an operating system. What is an operating system?

  9. Operating System An operating system (OS) is software that manages computer hardware and software resources and provides common services for computer programs. - Wikipedia

  10. Operating System

  11. History This will be quick

  12. History Linux is related to Unix

  13. History 1969 Unix development starts (complex history skipped) 1991 Linux released

  14. History

  15. History? - Dilbert, June 24 1995 (Idea stolen from Dan Mechanic at the Business School.)

  16. History Ken Thompson & Dennis Ritchie

  17. Design Unix created by developers for developers Unix was designed to be simple and powerful

  18. Design [ ] the power of a system comes more from the relationships among programs than from the programs themselves. Many UNIX programs do quite trivial things in isolation, but, combined with other programs, become general and useful tools. The UNIX Programming Environment, Kernighan and Pike (1984)

  19. Cunix System: cunix.columbia.edu User: Your UNI

  20. Access Windows Instructions 1. Search for putty on Columbia home page 2. Select first result 3. Follow link to Putty download page 4. Download putty.exe 5. Run putty.exe

  21. Access Mac Instructions 1. Run terminal

  22. Access Mac (Terminal) $ ssh <UNI>@cunix.columbia.edu Windows (Putty) Host Name: cunix.columbia.edu

  23. Access Does everyone have access?

  24. Prompt -bash-4.1$ This is the default prompt for our accounts Let s make it a little more user-friendly

  25. Prompt -bash-4.1$ PS1="\W$ " PS1 is an environment variable \W is current directory $ is a conventional prompt symbol

  26. Prompt ~$ Name of current directory ~ is special

  27. .bash_profile and .bashrc These two files can be used to set up your environment automatically when you log in Beyond the scope of this session

  28. pwd $ pwd Print working directory

  29. Directory Path $ pwd /u/1/a/abc123

  30. Directory Structure (Example) / bin dev etc lib var workshop home user1 user2 user3

  31. ls $ ls List directory

  32. cd $ cd / Change directory $ pwd

  33. ls $ ls $ ls l Long listing.

  34. cd $ cd $ pwd cd with no arguments takes you back home

  35. .. $ pwd $ cd .. $ pwd .. means the directory above this one

  36. . $ pwd $ cd . $ pwd . means this directory

  37. ls -a $ cd $ ls -a Can combine options $ ls la

  38. ~ $ pwd $ cd ~ $ pwd ~ means home directory

  39. Paths $ cd tmp $ cd /tmp Absolute: starts with / Relative: doesn t

  40. cp $ cd $ cp /tmp/keets . $ ls

  41. rm $ cp keets junk $ ls $ rm junk $ ls

  42. cat $ cat keets

  43. mv $ mv keets keats $ ls

  44. mkdir $ mkdir tmp $ mv keats tmp $ cd tmp $ ls

  45. rmdir $ pwd $ mv keats .. $ cd .. $ rmdir tmp $ ls

  46. who am i $ whoami $ who am i $ id $ groups

  47. id, groups $ id abc123 $ groups abc123

  48. who $ who

  49. w $ w

  50. bash bash is a shell It prints the prompt and interprets what you enter It has many keyboard shortcuts that can really speed up your work