CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang

Slides:



Advertisements
Similar presentations
COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
Advertisements

Operating Systems for Administrators Instructor: Mr. Ahmed Al Astal ITGD4104 Department Requirement for senior student University of Palestine Faculty.
A Guide to Unix Using Linux Fourth Edition
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Chapter One The Essence of UNIX.
Lesson 10-Controlling User Processes. Overview Managing and processing processes. Managing jobs. Exiting/quitting when jobs have been stopped.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
Chapter 2 Accessing Your System and the Common Desktop Environment.
Operating Systems: Software in the Background
CS 497C – Introduction to UNIX Lecture 20: - The Shell Chin-Chih Chang
CS 497C – Introduction to UNIX Lecture 3: Inside UNIX Chin-Chih Chang
Guide To UNIX Using Linux Third Edition
Spring 2007Introduction to OS1 IT 3423: Operating System Concepts and Administration Instructor: Wayne (Weizheng) Zhou
UNIX chapter 03 Getting Started Mr. Mohammad Smirat.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
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.
5 UNIX Processes. Introduction  Processes  How to list them  How to terminate them  Process priorities  Scheduling jobs  Signals.
Section 6.1 Explain the development of operating systems Differentiate between operating systems Section 6.2 Demonstrate knowledge of basic GUI components.
CST334 Unix & X Window System
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Network Operating Systems Week 9.
CS110/CS119 Introduction to Computing (Java)
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
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)
Introduction to Unix/Linux Chapter One The Essence of UNIX.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX Lecture 4.
Chapter 3 Mastering Editors
UNIX Unbounded 5th Edition Amir Afzal Chapter 3 Getting Started
Lesson 1. PC vs. Multi-user System  Personal Computer – each user gets his/her own processor (or multicore processor).  Multi-user system – The processor,
Module 1 Introduction to UNIX/Linux
IST 222 Introduction to Operating Systems Fall, 2004.
Chapter Three The UNIX Editors. 2 Lesson A The vi Editor.
Chapter 2: Getting Started Logon to Logout. In this chapter … Logging on The Shell Superuser Getting Help Logging off.
Second edition Your UNIX: The Ultimate Guide Das © 2006 The McGraw-Hill Companies, Inc. All rights reserved. The Operating System Allocates memory for.
Natawut NupairojAssembly Language1 Unix Survival Guide.
Before we start…Getting Started. UST Outline History Getting Started Basic commands (command line) Operations on Files and Directories Input and Output.
Introduction to Unix (CA263) Getting Started By Tariq Ibn Aziz.
Lesson 1-Logging On to the System. Overview Importance of UNIX/Linux. Logging on to the system.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
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.
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
Operating Systems Objective n The historic background n What the OS means? n Characteristics and types of OS n General Concept of Computer System.
Introduction to Programming Using C An Introduction to Operating Systems.
1 Lecture 6 Introduction to Process Management COP 3353 Introduction to UNIX.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
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 CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Unix Advanced Shells Chapter 10. Unix Shells u Command Line Interpreter –once logged in, login gives control to a shell –it prompts for input, then parses,
BIF713 Introduction to Linux. Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command.
WHY AN OPERATING SYSTEM (OS) OS interacts with hardware and manages programs. Programs not expected to know which hardware they will run on. Must be possible.
Operating System. What is Operating System OS is system software, which may be viewed as collection of software consisting of procedures for operating.
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.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
Introduction to UNIX.
User Access and User ID Commands in UNIX
John Carelli, Instructor Kutztown University
Chapter 2: System Structures
Unix : Introduction and Commands
Introduction to Computer Software
Linux Professor Sabol.
Lecture 6 Introduction to Process Management
Presentation transcript:

CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang

Objective and Preface This course is to learn the fundamentals of UNIX. This course introduces the concept of UNIX operating system and the essential commands of UNIX. UNIX was never designed for the world. There is a method to this madness. Many Internet applications are powered by UNIX.

The Operating System An operating system (sometimes abbreviated as “OS”) is a program that functions as a virtual machine (layer of software on top of bare hardware) and a resource manager (software that controls access to computer). It interacts with two agencies: applications and a command language interpreter. DOS, Windows, Mac OS, and UNIX are examples of the operating system.

The UNIX Operating System UNIX (sometimes spelled “Unix”) is an operating system that originated at Bell Labs in Ken Thompson and Dennis Ritchie are considered the inventors of UNIX. UNIX has evolved as a kind of large freeware product, with many extensions and new ideas provided in a variety of versions of UNIX by different companies, universities, and individuals.

Knowing Your Machine Unlike Windows, UNIX can be used by several users concurrently. You can access to such a multiuser system through a terminal or a workstation. A terminal consists of a monitor and a keyboard. A workstation has its own CPU, memory, and hard disk.

Knowing Your Keyboard Every key on your computer has a function in UNIX. Each character has its ASCII value. [Enter] / [Return] is used to terminate a line. [Backspace] corrects typing mistakes. [Ctrl] is used in combination with other keys to produce control characters. [Alt] combinations are used in emacs.

The System Administrator A system administrator is in charge of administration of the system. The system administrator is responsible for: –the entire setup, –user accounts allocation, –file systems maintenance, –backups, –disk space management, –other assignments. The administrator has a special user account; it is called root.

Logging In and Out Logging In login: remeo [Enter] password: Last login: Mon Aug 20 22:11:17 on tty2 $ The shell produces the prompt and accepts all your input from the keyboard. Logging Out $ [Ctrl-d] $logout[Enter] $exit[Enter] login:

Trying Out Some Commands passwd: changing your own password who: who are the users? who am i tty: know your terminal name echo $SHELL: know your shell echo $TERM: know your terminal type set: know your envirnoment

Two Important Observations UNIX commands are in lowercase The [Enter] key

When Things Go Wrong Backspacing doesn’t work – [Ctrl-h], [Del] A command has to be interrupted – [Ctrl-d], [Ctrl-c] [Delete] Killing a line – [Ctrl-u] Other Problems –Suspend a job – [Ctrl-z], resume a job – fg –Stop scrolling – [Ctrl-s], resume scrolling - [Ctrl-q] –Restore a terminal – stty sane –[Enter] – [Ctrl-j] or [Ctrl-m] –Close the program - q, quit, exit, or [Ctrl-d]

What’s Next More commands How It All Clicked Linux and GNU Inside UNIX Read Chapter 1.