Introduction to Linux Workshop - February 26, 2015

Introduction to Linux Workshop - February 26, 2015
Slide Note
Embed
Share

"Rob Lane and The HPC Support Team held an insightful workshop on Linux basics, explaining what Linux is and its history related to Unix. The session covered the importance of operating systems, particularly Linux, as a powerful tool for managing computer resources. Learn about the design principles behind Unix and how developers have embraced its simplicity and efficiency."

  • Linux Basics
  • Workshop
  • Operating System
  • Unix History
  • Developer Tools

Uploaded on Apr 03, 2025 | 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.If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

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.

E N D

Presentation Transcript


  1. Introduction to Linux Workshop February 26 2015

  2. Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT

  3. Introduction Linux Basics

  4. Introduction Linux Basics (HPC is next week)

  5. Introduction 1stHour: Slides + Hands-on 2ndHour: Hands-on

  6. Introduction Second Intro to Linux Workshop Please Leave Feedback

  7. Introduction What is Linux?

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

  9. Introduction What is an operating system?

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

  11. Introduction

  12. History This will be quick

  13. History Linux is old 1991

  14. History Linux is related to Unix

  15. History Unix is very old 1969

  16. Design Unix created by developers for developers

  17. Design 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. Access Did everyone get a user ID?

  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 userNN@didius.cc.columbia.edu Windows (Putty) Host Name: didius.cc.columbia.edu

  23. Access Aside System: cunix.columbia.edu User: Your UNI

  24. Prompt [user1@didius ~]$ User name System name Name of current directory ~ is special

  25. pwd $ pwd Print working directory

  26. Directory Path $ pwd /workshop/home/user1

  27. Directory Path / bin dev etc lib var workshop home user1 user2 user3

  28. ls $ ls List directory Not very interesting.

  29. cd $ cd / Change directory $ pwd

  30. ls $ ls $ ls l Long listing.

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

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

  33. . $ pwd $ cd . $ pwd . means this directory

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

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

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

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

  38. rm $ cp keets junk $ ls $ rm junk $ ls

  39. cat $ cat keets

  40. mv $ mv keets keats $ ls

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

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

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

  44. id, groups $ id rl2226 $ groups rl2226

  45. who $ who

  46. w $ w

  47. 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

  48. bash $ ls jeats ls: jeats: No such file or directory Up arrow to retrieve the command Left and right arrows to navigate on line Change the j to a k and rerun

  49. bash ^ means hold down control ^a : go to beginning of line ^e : go to end of line ^k: delete to end of line Many more useful bash commands

  50. bash $ ls k[tab] $ ls keats Tab completion Works for commands as well

More Related Content