Upload
damian-gregory
View
228
Download
0
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
1
Introduction
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
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
3
General Information• Grading Policy
– 10 homework/project assignments
– Mid-term and final exams
– Homework (60%) + Mid-term (15%) + Final (25%)
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
5
General Information• Course Content
– Command-line interface (CLI)– No graphic user interface (GUI)
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
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
8
Unix Account• If you haven’t got an account
9
Unix Account• If you haven’t register you account with this class
10
Unix Account• If you haven’t register you account with this class
11
Overview of Linux/Unix• Why we learn Linux/Unix?
12
OS Platform Statistics (Web) http://www.w3schools.com/browsers/browsers_os.asp
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
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
15
Overview of Linux/Unix• Why we learn Linux/Unix?
– Job prospects• Proficiency with Linux/Unix• Basic knowledge of scripting
– Basics for other courses
16
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?
17
Operating Systems
o Resource managemento Hardware abstractiono User interface
System calls
e.g., open(), read()
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
19
Linux / Unix Operating Systems
http://www.kernel.org
20
Some Current Distributions
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)
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, …
23
Overview of Linux/Unix• Why we learn Linux/Unix?• What is Linux/Unix?• Features of Linux/Unix• Shell• File System Structure
24
Overview of Linux/Unix
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)
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
27
Login to Server (Windows)• PuTTY
28
Login to Server (Windows)• PuTTY
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
30
Login to Server (Linux / Mac)• Terminal
31
Login to Server (Linux / Mac)• Terminal