CS 497C – Introduction to UNIX Lecture 2: Work with Files and Directories Chin-Chih Chang

Slides:



Advertisements
Similar presentations
Chapter One Introduction to Unix1 System Programming Introduction to Unix.
Advertisements

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.
CS 497C – Introduction to UNIX Lecture 22: - The Shell Chin-Chih Chang
CS 497C – Introduction to UNIX Lecture 20: - The Shell Chin-Chih Chang
Operating Systems Every computer has two fundamental components: hardware and software The term hardware refers to the physical components inside a computer.
UNIX - Introduction UNIX an Operating System Master Control Program UNIX a name of a culture UNIX a set of tools for smart people UNIX easy to use, difficult.
CSCI 330 T HE UNIX S YSTEM Dr. Reva Freedman Department of Computer Science Northern Illinois University Spring 2009.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
LINUX System Administration
Lecture 2 History of Operating Systems. Early History: The 1940s and 1950s Operating systems evolved through several phases. 1940s: Early computers did.
CMSC 104, L031 Operating Systems and Using Linux Topics What is an Operating System? Linux Overview Frequently Used Linux Commands Reading None.
Unix Background / History CSE 4251, Sp 2014, Bolz 422 Dr. Bob Mathis,
Introduction A computer system consists of hardware system programs application programs.
What is UNIX? UNIX is an Operating System (OS). An operating system is a control program that helps the user communicate with the computer hardware. UNIX.
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.
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
Introduction to Unix Administration Objectives –to identify the basic concepts of Unix administration Contents –history of Unix –unix vendors and standards.
CS240 Computer Science II Introduction to Unix Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
UNIX OS By: Desmond Dagg Alannah Storm Mullins Carl Kavanagh Gareth Dunne Behzad Sanehi.
Module 1 Introduction to UNIX/Linux
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
CE Operating Systems Lecture 6 Overview of Unix/Linux operating systems.
UNIX and Shell Programming (06CS36) Unit 1 Continued… Shrinivas R. Mangalwede Department of Computer Science and Engineering K.L.S. Gogte Institute of.
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.
Additional UNIX Commands. 222 Lecture Overview  Multiple commands and job control  More useful UNIX utilities.
Server Operating System: Windows NT (Windows 2000) vs. Unix Zaiqun Pan August 2000.
Natawut NupairojAssembly Language1 Unix Survival Guide.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
COMP1070/2002/lec4/H.Melikian COMP1070 Lecture #4  Unix software architecture  Correcting mistakes  System setups  Useful commands for the beginner.
Operating System Part II: Introduction to the Unix Operating System (The Evolution of Unix)
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. UNIX Commands cal – will print a calendar.
CE Operating Systems Lecture 5 Overview of Unix/Linux operating systems.
History of UNIX a short version CSCI 333 August 31, 2011.
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
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 and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
Intro to UNIX Presented by: Student Ambassadors: Lauren Lewis Martin Sung.
PRIME VIEW, INC.1. 2 History, a brief overview written by Ken Thompson and Dennis Ritchie (Turing Award 1983) developed at Bell Laboratories, USA, derived.
Introduction to Programming Using C An Introduction to Operating Systems.
Basic of UNIX For fresh members of SPARCS
Introduction 1 Chapter 1. Introduction History and Proliferation Mandate for Change What’s Good and Wrong Scope of this course.
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.
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.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
NT1110 Computer Structure and Logic Unit 1 OPERATING SYSTEMS.
UNIX and SOFTWARE TOOLS Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Overview of Linux Fall 2016 Dr. Donghyun Kim
A LECTURE NOTE.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Operating System & Application Software
Welcome to CIS 52 WELCOME WELCOME WELCOME W E L C O M E.
LINUX System Administration
WINDOWS NT VERSUS UNIX NT & UNIX OVERVIEW by Zhuo Hong Liu
CS-3013 & CS-502 Operating Systems Summer 2006
Unix : Introduction and Commands
LINUX System Administration
UNIX and Shell Programming (06CS36)
UNIX and Shell Programming (06CS36)
Chapter 1 What is UNIX? Graham Glass and King Ables,
Presentation transcript:

CS 497C – Introduction to UNIX Lecture 2: Work with Files and Directories Chin-Chih Chang

Working with Files and Directories Many commands refers to files and directories. mkdir – creating a directory $ mkdir docs ls – listing files and directories $ ls docs pwd – show your current directory

Working with Files and Directories $ pwd /home/romeo cd – change directory $ cd docs $ pwd /home/remeo/docs echo – write its arguments to standard output $ echo This is the first message > note1 $ echo This is the second message > note2

Working with Files and Directories $ ls note1 note2 cat – concatenate and display files $ cat note1 This is the first message. wc: couting lines, words and characters $ wc note notel $ wc –l note1 1 note1

Working with Files and Directories ls –l – checking the file attributes $ ls –l total 2 -rw-r--r-- 1 romeo staff 26 Aug 22 02:05 note1 -rw-r--r-- 1 romeo staff 27 Aug 22 02:06 note2 man – find and display reference manual pages $ man ls

How It All Clicked Till UNIX came on scene, operating systems were designed with a particular machine in mind. Programs designed for one system simply wouldn’t run on another. Ken Thompson and Dennis Ritchie designed and built a small system having an elegant file system, a command interpreter (the shell) and a set of utilities. In 1973, they rewrote the entire system in C.

How It All Clicked UC Berkeley created BSD UNIX. The other brands of UNIX: Xenix, BSDi, BSD/OS, FreeBSD, SunOS, Solaris, HP- UX, AIX, Ultrix, Digital UNIX, IRIX, SCO Open Server, SCO UnixWare. AT&T unify their own System V 3.2, BSD, SunOS and XENIX into System V Release 4 (SVR4).

The Internet DARPA commissioned UCB to implement TCP/IP on BSD UNIX. TCP/IP is a set of protocols used by the Internet for communication. The incorporation of TCP/IP into UNIX and its use as the basis of development were two key factors in the rapid growth of the Internet (and UNIX).

The Windows Threat Windows – a graphical user interface (GUI) that uses the mouse rather than arcane and complex command options to execute a job. Windows first swept the desktop market (with Windows 3.1/95/98/Me) and then made significant inroads into the server market (with Windows NT/2000). The MIT introduced X Window – the first windowing system for UNIX.

Standards and POSIX In 1992, AT&T’s UNIX business was sold to Novell. Novell then turned over the UNIX to X/OPEN. The Open Group published the single UNIX Specification. The Portable Operating System Interface (POSIX) is a set of standard operating interfaces based on UNIX. Most UNIX vendors cooperate with The Open Group and also build products based on the UNIX standard.