31
Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

Embed Size (px)

DESCRIPTION

General Information Grading Policy –10 homework/project assignments –Mid-term and final exams –Homework (60%) + Mid-term (15%) + Final (25%) 3

Citation preview

Page 1: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

1

Introduction

IT244 - Introduction to Linux / Unix Instructor: Bo Sheng

Page 2: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

2

General Information• Location and Time

– S-3-143, Mon & Wed, 4:00 ~ 5:15pm– Door code: 392467*

• 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

Page 3: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

3

General Information• Grading Policy

– 10 homework/project assignments

– Mid-term and final exams

– Homework (60%) + Mid-term (15%) + Final (25%)

Page 4: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

4

General Information• 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

Page 5: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

5

General Information• Course Content

– Command-line interface (CLI)– No graphic user interface (GUI)

Page 6: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

6

General Information• 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

Page 7: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

7

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)

• PuTTY

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Page 8: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

8

Unix Account• If you haven’t got an account

Page 9: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

9

Unix Account• If you haven’t register you account with this class

Page 10: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

10

Unix Account• If you haven’t register you account with this class

Page 11: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

11

Overview of Linux/Unix• Why we learn Linux/Unix?

Page 12: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

12

OS Platform Statistics (Web) http://www.w3schools.com/browsers/browsers_os.asp

Page 13: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

13

Web Server Surveyhttps://secure1.securityspace.com/s_survey/data/201511/index.htmlhttps://secure1.securityspace.com/s_survey/data/man.200907/apacheos.html

3.16% of Apache running on Windows servers

Page 14: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

14

Top 500 Supercomputers http://top500.org/statistics/list/

OPERATING SYSTEM FAMILY COUNT SYSTEM SHARE (%) RMAX (GFLOPS) RPEAK (GFLOPS) CORES

Linux 494 98.8 419,253,297 640,067,791 29,226,383Unix 6 1.2 1,868,442 2,215,095 76,128

Page 15: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

15

Overview of Linux/Unix• Why we learn Linux/Unix?

– Job prospects• Proficiency with Linux/Unix• Basic knowledge of scripting

– Basics for other courses

Page 16: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

16

Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?

Page 17: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

17

Operating Systems

o Resource managemento Hardware abstractiono User interface

System calls

e.g., open(), read()

Page 18: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

18

History of Linux / Unix• 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

Page 19: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

19

Linux / Unix Operating Systems

http://www.kernel.org

Page 20: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

20

Some Current Distributions

Page 21: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

21

Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix

– FREE (no charge, open source)– Multiuser– Multitasking– Multiplatform (portable)

Page 22: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

22

Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix• Shell

– Command interpreter– ‘Programming language’ with no compilation– Bash, Tcsh, Dash, Zsh, …

Page 23: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

23

Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix• Shell• File System Structure

Page 24: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

24

Overview of Linux/Unix

Page 25: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

25

Login to Server• Server (hostname):

• it244a.cs.umb.edu• it244b.cs.umb.edu

• SSH (Secure Shell, no more telnet)– Use terminal (Linux/Mac OS clients)– Use other software tool (Windows client)

Page 26: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

26

Login to Server• Server (hostname):

• it244a.cs.umb.edu• it244b.cs.umb.edu

• SSH (Secure Shell)– Use terminal (Linux/Mac OS clients)– Use other software tool (Windows client)

• PuTTY

• Instructions on course web page

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

Page 27: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

27

Login to Server (Windows)• PuTTY

Page 28: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

28

Login to Server (Windows)• PuTTY

Page 29: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

29

Login to Server• SSH (Secure Shell)

– Use a terminal (Linux/Mac OS clients)– ssh username@hostname– ssh –l username hostname

e.g.,– ssh [email protected]– ssh –l shengbo it244a.cs.umb.edu

Page 30: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

30

Login to Server (Linux / Mac)• Terminal

Page 31: Introduction IT244 - Introduction to Linux / Unix Instructor: Bo Sheng 1

31

Login to Server (Linux / Mac)• Terminal