CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.

Slides:



Advertisements
Similar presentations
Operating Systems An Introduction. 2 What Does An Operating System Do? Manages the hardware and software resources of the system. In a desktop computer,
Advertisements

Chapter One The Essence of UNIX.
History of UNIX Fergus Toolan Intelligent Information Retrieval Group University College Dublin.
Chapter One Introduction to Unix1 System Programming Introduction to Unix.
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Network+ Guide to Networks, Fourth Edition
Operating Systems - Introduction S H Srinivasan
CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Guide To UNIX Using Linux Third Edition
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Operating Systems.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
1 Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET201.
Linux Introduction. Overview What is Unix/Linux? History of Linux Features Supported Under Linux The future of Linux.
Linux Operating system
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
Introduction to Linux Environment Dr.S.Siva Kumari Mrs.S.Siva Ranjani Avinashilingam University.
UNIX/Linux System Programming Jordan University of Science and Technology History.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Linux Basics. What is an Operating System (OS)? An Operating System (OS) is an interface between hardware and user which is responsible for the management.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Unix Background / History CSE 4251, Sp 2014, Bolz 422 Dr. Bob Mathis,
Introduction A computer system consists of hardware system programs application programs.
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
Overview of Linux Dr. Michael L. Collard 1.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
Module 1 Introduction to UNIX/Linux
Chapter 9: Networking with Unix and Linux Network+ Guide to Networks Third Edition.
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
Chapter 1 What is UNIX? Graham Glass and King Ables,
Unix Background. Introducing Unix Brief Unix History u In 1969, Ken Thompson at AT&T Bell Labs began developing Unix. –First done in assembly language.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
CS 390 Unix Programming Environment Summer Suchindra Rengan - CS3902 Course Details Instructors Suchindra Rengan – ‘sachin’ ( Section 001)
Computers & Operating Systems
Just Enough Unix, Chapter 1
1 Operating Systems: Principles and Practice Cpr E 308.
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
CSNB334 Advanced Operating Systems 1. Introduction to Linux Lecturer: Abdul Rahim Ahmad.
CSCI 330 UNIX and Network Programming Unit I Introduction.
The UNIX Time-sharing system
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
This slide deck is for LPI Academy instructors to use for lectures for LPI Academy courses. ©Copyright Network Development Group Module 01 Introduction.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
UNIX U.Y: 1435/1436 H Operating System Concept. What is an Operating System?  The operating system (OS) is the program which starts up when you turn.
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
IT244 - Introduction to Linux / Unix Instructor: Bo Sheng
Selected topic in computer science (1)
Welcome to Linux Chap#1 Hanin Abdulrahman.
Sami Shamoon College of Engineering Introduction to Operating Systems
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty at Virginia Tech

Christian Allgood, Virginia Tech, What is Unix? A modern computer operating system Operating System “a program that acts as an intermediary between a user of the computer and the computer hardware” Software that manages your computer’s resources (files, programs, disks, network) Examples: Windows, MacOS, Solaris, BSD, Linux (e.g. Mandrake, Red Hat, Slackware) Modern Stable, flexible, configurable, allows multiple users and programs

Christian Allgood, Virginia Tech, Why Unix? Used in many scientific and industrial settings Open-source operating system (OS) Huge number of free and well-written software programs Excellent programming environment Internet servers and services run on Unix Roughly 65% of the world’s web servers are Linux/Unix machines running Apache

Christian Allgood, Virginia Tech, Brief History of Unix Ken Thompson and Dennis Richie originally developed the earliest versions of Unix at Bell Labs for internal use in the 1970s Simple and elegant Written in a high-level language instead of assembly language Small portion written in assembly language (kernel) Remaining code written in C on top of the kernel

Christian Allgood, Virginia Tech, Unix Variants Two main threads of development Berkeley software distribution ( Unix System Laboratories ( Sun: SunOS, Solaris SGI: Irix FreeBSD, OpenBSD, NetBSD Hewlett-Packard: HP-UX Apple: OSX (Darwin) Linux (many flavors)

Christian Allgood, Virginia Tech, Brief History of Linux Andrew Tanenbaum, a Dutch professor developed MINIX to teach the inner workings of operating systems to his students In 1991 at the University of Helsinki, Linus Torvalds, inspired by Richard Stallman’s GNU free software project and the knowledge presented in Tanenbaum’s operating system, created Linux, an open-source, Unix-based operating system Over the last decade, the effort of thousands of open- source developers has resulted in the establishment of Linux as a stable, functional operating system

Christian Allgood, Virginia Tech, Layers in a Unix-based System Hardware (CPU, memory, disks, terminals, etc.) Unix Operating System (process/memory management, file system, I/O) Standard Library (open, close, read, write, etc.) Standard Utility Programs (shells, editors, compilers, etc.) Users User Interface Library Interface System calls kernel user mode

Christian Allgood, Virginia Tech, Unix Structure The kernel is the core of the Unix operating system, controlling the system hardware and performing various low- level functions. Other parts of a Unix system (including user programs) call on the kernel to perform services for them. The shell accepts user commands and is responsible for seeing that they are carried out.

Christian Allgood, Virginia Tech, Unix Structure (cont.) Over two hundred utility programs or tools are supplied with the Unix system. These utilities (or commands) support a variety of tasks such as copying files, editing text, performing calculations, and developing software. This course will introduce a limited number of these utilities and tools, focusing on those that aid in software development.

Christian Allgood, Virginia Tech, Getting Started Logging in to a Unix machine requires an account on that system After logging in, some information about the system will be displayed, followed by a shell prompt, where commands may be entered $ % # hostname%

Christian Allgood, Virginia Tech, The Shell The shell is the program you use to send commands to the Unix system Some commands are a single word who date ls Others use additional information cat textfile ls –l

Christian Allgood, Virginia Tech, Command Syntax Commands must be entered exactly command options argument(s) Options modify a command’s execution Arguments often indicate upon what a command should act (often filenames)

Christian Allgood, Virginia Tech, Example Command: ls ls –l ls –a ls –la ls –a; ls –l ls –al textfile1 ls –al textfile1 textfile2 ls –al directory

Christian Allgood, Virginia Tech, Logging Out Always log out when you are done Use the exit command to log out of a shell Note: If you are running a window system, logging out of a shell only ends that shell. You must also log out of the window system, typically using a graphical menu.