CIS 240 Introduction to UNIX Instructor: Sue Sampson.

Slides:



Advertisements
Similar presentations
Chapter One The Essence of UNIX.
Advertisements

History of UNIX Fergus Toolan Intelligent Information Retrieval Group University College Dublin.
1.1 The Unix System Unix is a Multi-user and Multi-tasking operating system History  MULTICS (MULTIplexed Information and Computing Service) (1965) 
Unix Systems Administration 1Y. K. Chang UNIX History : Bell Lab joined with GEC and Project MAC of MIT to develop Multics: multi-user and data-sharing.
Operating Systems Every computer has two fundamental components: hardware and software The term hardware refers to the physical components inside a computer.
CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang
Guide To UNIX Using Linux Third Edition
Introduction to Linux Chapter 1. Operating Systems Operating System (OS) - most basic and important software on a computer Performs core tasks Organize.
Brief History of C and Unix Systems Programming Concepts.
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.
CSCI 330 T HE UNIX S YSTEM Dr. Reva Freedman Department of Computer Science Northern Illinois University Spring 2009.
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 Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Linux Shells Dr. Michael L. Collard 1.
Introduction to Linux Installing Linux User accounts and management Linux’s file system.
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Network Operating Systems Week 9.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
Linux Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Overview of Linux Dr. Michael L. Collard 1.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
UNIX OS By: Desmond Dagg Alannah Storm Mullins Carl Kavanagh Gareth Dunne Behzad Sanehi.
A Comparison of Linux vs. Windows Bhargav A. Sorathiya B.E. 4 th C.E. Roll no:6456.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
1 Copyright ©2003 LxIS. All Rights Reserved. Open Source Overview Roger A. Maduro Linux Infrastructure, LLC April 25, 2003.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
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.
1 © 2001 John Urrutia. All rights reserved. Welcome to CIS 52 WELCOME WELCOME W E L C O M E.
LIS508 background of GNU/Linux
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)
Operating System Part II: Introduction to the Unix Operating System (The Evolution of Unix)
F PRESENTED BY YAN FENG F STUDENT ID: F Instructor: Professor Morteza Anvari F DATE: 03/17/2001.
LIS508 lecture 6: looking at linux Thomas Krichel
Computers & Operating Systems
Just Enough Unix, Chapter 1
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.
Linux Overview COMS W4118 Spring Slides based on Phil Hutto, Silberschatz 2 History Linux is a modern, free operating system based on UNIX standards.
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
Berkeley Software Distribution
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
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.
Introduction to UNIX Karl Harrison September 2004.
UNIX History UNIX began as a research project. UNIX System V developed at Bell Laboratories. BSD (Berkley Software Distribution) UNIX XENIX UNIX Sun Operating.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
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.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop I Introduction to Linux Professional Training Academy.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Agenda UNX122_022_w1_p3 Overview of UNIX
Linux Operating System By: Julie Dunbar. Overview Definitions History and evolution of Linux Current development In reality ◦United States  Business.
OPS224 Operating Systems - Unix Instructor: MURRAY SAUL.
Class Meeting 11 ITI-481 – UNIX ADMIN Chris Uriarte, Instructor ITI-481: Unix Administration Rutgers University Internet Institute Instructor: Chris Uriarte.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
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.
Unix Scripting Session 1 March 6, 2008.
Selected topic in computer science (1)
Welcome to Linux Chap#1 Hanin Abdulrahman.
Linux Introduction ITIS 2110.
Unix : Introduction and Commands
Chapter 2: The Linux System Part 1
A short Linux History of UNIX/Linux
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Presentation transcript:

CIS 240 Introduction to UNIX Instructor: Sue Sampson

CIS240 – Unix Overview In , Kenneth Thompson, Dennis Ritchie, and others at AT&T Bell Labs began developing a small operating system on a little-used PDP-7. The operating system was soon christened Unix, a pun on an earlier operating system project called MULTICS. In the system was rewritten in the programming language C, an unusual step that was visionary: due to this decision, Unix was the first widely-used operating system that could switch from and outlive its original hardware. Other innovations were added to Unix as well, in part due to synergies between Bell Labs and the academic community. In 1979, the ``seventh edition'' (V7) version of Unix was released, the grandfather of all extant Unix systems. After this point, the history of Unix becomes somewhat convoluted. The academic community, led by Berkeley, developed a variant called the Berkeley Software Distribution (BSD), while AT&T continued developing Unix under the names ``System III'' and later ``System V''. In the late 1980's through early 1990's the ``wars'' between these two major strains raged. After many years each variant adopted many of the key features of the other. Commercially, System V won the ``standards wars'' (getting most of its interfaces into the formal standards), and most hardware vendors switched to AT&T's System V. However, System V ended up incorporating many BSD innovations, so the resulting system was more a merger of the two branches. The BSD branch did not die, but instead became widely used for research, for PC hardware, and for single-purpose servers (e.g., many web sites use a BSD derivative). The result was many different versions of Unix, all based on the original seventh edition. Most versions of Unix were proprietary and maintained by their respective hardware vendor, for example, Sun Solaris is a variant of System V. Three versions of the BSD branch of Unix ended up as open source: FreeBSD (concentrating on ease-of-installation for PC-type hardware), NetBSD (concentrating on many different CPU architectures), and a variant of NetBSD, OpenBSD (concentrating on security).

In 1984 Richard Stallman's Free Software Foundation (FSF) began the GNU project, a project to create a free version of the Unix operating system. By free, Stallman meant software that could be freely used, read, modified, and redistributed. The FSF successfully built a vast number of useful components, including a C compiler (gcc), an impressive text editor (emacs), and a host of fundamental tools. However, in the 1990's the FSF was having trouble developing the operating system kernel, without a kernel their dream of a completely free operating system would not be realized. In 1991 Linus Torvalds began developing an operating system kernel, which he named ``Linux'' This kernel could be combined with the FSF material and other components (in particular some of the BSD components and MIT's X-windows software) to produce a freely-modifiable and very useful operating system. This book will term the kernel itself the ``Linux kernel'' and an entire combination as ``Linux''. Note that many use the term ``GNU/Linux'' instead for this combination. In the Linux community, different organizations have combined the available components differently. Each combination is called a ``distribution'', and the organizations that develop distributions are called ``distributors''. Common distributions include Red Hat, Mandrake, SuSE, Caldera, Corel, and Debian. There are differences between the various distributions, but all distributions are based on the same foundation: the Linux kernel and the GNU glibc libraries. Since both are covered by ``copyleft'' style licenses, changes to these foundations generally must be made available to all, a unifying force between the Linux distributions at their foundation that does not exist between the BSD and AT&T-derived Unix systems. CIS240 – Unix Overview

Terminology  Kernels = memory resident part of the OS; manages CPU scheduling, memory management, process management, etc. 4.3BSD = 4.3BSD is a modern UNIX operating system distributed by University of California at Berkeley in TCP/IP was introduced into the UNIX world for the first time by 4.2BSD which preceded 4.3BSD. LINUX = Linux is a kernel originally created by Linus Torvalds. He began to write it since he was a student at the University of Helsinki. Now, Linux is used all over the world as part of GNU/Linux operating system.  Shells = Shell is a Unix term for the interactive user interface with an operating system. The shell is the layer of programming that understands and executes the commands a user enters. In some systems, the shell is called a command interpreter. A shell usually implies an interface with a command syntax (think of the DOS operating system and its "C:>" prompts and user commands such as “dir”. Bourne (sh) - original Unix shell that was developed at AT&T. Prompt -> $ C (csh) - created by Bill Joy at the University of California at Berkeley as an alternative to UNIX's original shell. Prompt -> % Korn (ksh) - developed by David Korn of Bell Labs as a comprehensive combined version of other major UNIX shells. Prompt -> $ CIS240 – Unix Overview

CIS240 – Administering Users Root is a ‘superuser’ (aka Admin for system)  Add and delete users  Change user passwords  Change ownership of files  Add and remove users to or from groups  Create and remove directories  Configure the operating system  Shutdown the computer

Adding a user –  Use adduser or useradd  Different command formats for different UNIX varieties  Plan your new user before you add CIS240 – Administering Users

Planning for a User  Name  ID  Groups  Home directory  Password CIS240 – Administering Users

Creating/Modifying User Password  Must be superuser  Enter passwd  Don’t forget the username or you will be changing the password for the superuser account  You will be prompted to enter the password twice CIS240 – Administering Users

Deleting a user =  Enter userdel and the username  userdel will not delete the home directory in some distributions Checking to see if a user exists  Users are added, by default to the \home directory CIS240 – Administering Users

Pre-assessment CIS240 – Unix Overview

CIS Using Red Hat in the Lab You will be loading Red Hat Linux on your removable hard drive. Once it has been loaded, Red Hat will boot automatically when you turn on your computer. You should shut your computers down prior to leaving each class to prevent damage to the file system. You need to sit in the same place for each class period so that you’ll have the same hard drive. Please let me know if you don’t have a hard drive and I’ll get you one.

Lab Worksheet 1 (not graded) Installing Red Hat CIS Using Red Hat in the Lab