Introduc+on IT244 - Introduc+on to Linux / Unix Instructor: Bo Sheng Location and Time S-3-143, Mon & Wed, 4:00 ~ 5:15pm Door code: 261359* Office Hours Science Center, S-3-167, Mon & Wed, 2 ~ 4pm TA office hours: TBD Course web page http://www.cs.umb.edu/~shengbo/teaching/it244.html 1 2 Grading Policy 8~10 homework/project assignments Mid-term and final exams Homework (60%) + Mid-term (15%) + Final (25%) Course Content Exclude Chapter 7, 9, 16, 17 Linux/Unix commands and utilities Shell (Bourne Shell) File systems Text editor (vim) Scripting Shell scripting, awk, sed, perl Introductory level coverage 3 4 Course Content Command-line interface (CLI) No graphic user interface (GUI) Course Content Hands-on practice (lab / home) Lecturing style (slides + demo + practice) Login to a dedicated server from any computer Unix account and register for this course University s Policies Plagiarism, Honor code Emergency Disability service 5 6 1
OS Platform Statistics (Web) h6p://www.w3schools.com/browsers/browsers_os.asp 7 8 Web Server Survey h6ps://secure1.securityspace.com/s_survey/data/201612/index.html h6ps://secure1.securityspace.com/s_survey/data/man.201612/apacheos.html 4.30% of Apache running on Windows servers Top 500 Supercomputers h6p://top500.org/sta+s+cs/list/ OPERATING SYSTEM FAMILY COUNT SYSTEM SHARE (%) RMAX (GFLOPS) RPEAK (GFLOPS) CORES Linux 494 98.8 419,253,297 640,067,791 29,226,383 Unix 6 1.2 1,868,442 2,215,095 76,128 9 10 Job prospects Proficiency with Linux/Unix Basic knowledge of scripting Basics for other courses 11 12 2
Operating Systems History of Linux / Unix o Resource management o Hardware abstraction o User interface System calls e.g., open(), read() Timeline http://www.levenez.com/unix/ Milestones 1969: Unix starts at Bell Labs 1971: First edition of Unix 1977: 1BSD from Berkeley 1983: GNU project (GPL) 1991: Linux is announced Hello everybody out there using minix - I'm doing a (free) operating system (just a hobby, won't be big and professional like gnu) for 386(486) AT clones. PS. Yes it's free of any minix code, Linus Torvalds 13 14 Linux / Unix Operating Systems Some Current Distributions h0p://www.kernel.org 15 16 Features of Linux/Unix FREE (no charge, open source) Multiuser Multitasking Multiplatform (portable) Features of Linux/Unix Shell Command interpreter Programming language with no compilation Bash, Tcsh, Dash, Zsh, 17 18 3
Features of Linux/Unix Shell File System Structure 19 20 Practice Login to lab computers Download PuTTY client from the course web page http://www.cs.umb.edu/~shengbo/teaching/it244.html Unix Account If you haven t got an account http://www.cs.umb.edu/sp/resources/other/faqs/#faq02 SSH (Secure Shell) Use terminal (Linux/Mac OS clients) Use other software tool (Windows client) h0p://www.chiark.greenend.org.uk/~sgtatham/pu0y/download.html 21 22 Unix Account If you haven t got an account Unix Account If you haven t register you account with this class 23 24 4
Unix Account If you haven t register you account with this class Server (hostname): it244a.cs.umb.edu it244b.cs.umb.edu Login to Server SSH (Secure Shell, no more telnet) Use terminal (Linux/Mac OS clients) Use other software tool (Windows client) 25 26 Server (hostname): it244a.cs.umb.edu it244b.cs.umb.edu Login to Server SSH (Secure Shell) Use terminal (Linux/Mac OS clients) Use other software tool (Windows client) h0p://www.chiark.greenend.org.uk/~sgtatham/pu0y/download.html Instructions on course web page Login to Server (Windows) 27 28 Login to Server (Windows) Login to Server SSH (Secure Shell) Use a terminal (Linux/Mac OS clients) ssh username@hostname ssh l username hostname e.g., ssh shengbo@it244a.cs.umb.edu ssh l shengbo it244a.cs.umb.edu 29 30 5
Terminal Login to Server (Linux / Mac) Terminal Login to Server (Linux / Mac) 31 32 6