Operating Systems Review. User Computer, including HW and SW.

Slides:



Advertisements
Similar presentations
Introduction to UNIX CSE 2031 Fall May 2015.
Advertisements

CHAPTER 2 THE UNIX SHELLS by U ğ ur Halıcı. layers in a unix system 1 Users Standard utility programs (shell, editors, compilers, etc.) Standard utility.
Basics of Shell Programming. What’s Shell? It’s acts an interface between the user and OS (kernel).It’s known as “ command interpreter”. When you type.
Git/Unix Lab March Version Control ●Keep track of changes to a project ●Serves as a backup ●Revert to previous version ●Work on the same files concurrently.
CS 497C – Introduction to UNIX Lecture 22: - The Shell Chin-Chih Chang
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
8 Shell Programming Mauro Jaskelioff. Introduction Environment variables –How to use and assign them –Your PATH variable Introduction to shell programming.
CENT 305 Information Systems Security Linux Introduction.
Introduction to Computer Organization & Systems Topics: Intro to UNIX COMP John Barr.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
UNIX/LINUX Shells Shell is an UNIX/LINUX command interpreter. Shell command can be internal or external. The code to execute an internal command is part.
UNIX Shell Script (1) Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
1 Week 2 The Crunchy Shell to the Soft and Chewy Kernel… Sarah Diesburg 8/3/2010 COP4610 / CGS5765.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
1 Operating Systems Lecture 2 UNIX and Shell Scripts.
Agenda Getting Started: Using Unix Unix Structure / Features Elements of the Unix Philosophy Unix Command Structure Command Line Editing Online Unix Command.
Awk Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Lesson 2 1.Commands 2.Filename Substitution 3.I/O Redirection 4.Command Grouping 5.Shell Responisibilites Review of the Basics.
Unix/Linux cs3353. The Shell The shell is a program that acts as the interface between the user and the kernel. –The shell is fully programmable and will.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
UNIX Commands COMP 1090 Introduction to Unix Fall
CSC 360- Instructor: K. Wu Interfaces to OS Services.
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.
UNIX Shell Dr. Tran, Van Hoai
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
CS 245 – Part 1 Using Operating Systems and Networks for Programmers Jiang Guo Dept. of Computer Science California State University Los Angeles.
1 CS3695/M6-109 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
BIF713 Introduction to Linux. Agenda Getting Started: Using Linux Unix and Linux - Structure / Features Elements of the Linux Philosophy Linux Command.
OS Labs 2/25/08 Frans Kaashoek MIT
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.
CSE 374 Programming Concepts & Tools Hal Perkins Fall 2014 Lecture 3 – I/O Redirection, Shell Scripts.
Shell ITEC400 Yukari Kitamura. What is shell? An interface between the user and OS A utility program to interact with the kernel A programming language.
CS 403: Programming Languages Lecture 20 Fall 2003 Department of Computer Science University of Alabama Joel Jones.
Getting Started with Unix Naomi Altman. Connecting to a PSU Linux Cluster click on SSH click on "quick connect" Host Name: lxcluster.tlt.psu.edu User.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Unix Lab Fall Shell Scripting ●Through the shell (LXTerminal) you can: ●Run programs. ●Interact with the file system. ●Change settings. ●Send/receive.
Learning Unix/Linux Based on slides from: Eric Bishop.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Introduction to the Linux Command Line Interface Research Computing Systems Bob Torgerson July 19, 2016.
Overview of Linux Fall 2016 Dr. Donghyun Kim
Topic 2: Hardware and Software
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.
LECTURE 03: The Bash Command Line
Shell Features CSCI N321 – System and Network Administration
Week Two Agenda Announcements Link of the week Use of Virtual Machine
Andy Wang Object Oriented Programming in C++ COP 3330
SOFTWARE and OPERATING SYSTEM.
CSE 374 Programming Concepts & Tools
Some Linux Commands.
COSC 350 System Programming
The Linux Operating System
CSE 303 Concepts and Tools for Software Development
INTRODUCTION TO UNIX: The Shell Command Interface
Using Linux Commands Lab 3.
LING 408/508: Computational Techniques for Linguists
2/25/08 Frans Kaashoek MIT OS abstractions 2/25/08 Frans Kaashoek MIT
UNIX Introduction.
CSE 303 Concepts and Tools for Software Development
Module 4 Command Line Skills
Lab 2: Terminal Basics.
Presentation transcript:

Operating Systems Review

User Computer, including HW and SW

Hardware Examples of hardware:

Software Examples of software:

Two types of software Examples of application software: Examples of system software:

What is an operating system? A piece of system software that …

HW OS Application SW User

As a resource manager An OS manages …

As a service provider An OS provides (what kind of services) to (whom)

Application SW OS HW User Device drivers = interface between HW and OS

Application SW OS HW User System calls = interface between OS and AP

Application SW OS HW User Shell = interface between user and computer

What is a shell? A program A command interpreter Interface between user and computer An interactive interface A programming language, a shell program is called a shell script

Shell command format Shell command = command [options] [arguments] Command names are often cryptic Options usually starts with – Arguments can be filenames or other information

How shell works While (1) { read in a line of command and break it up into tokens pre-process the command locate the command token if command == “ exit ” then terminate if command is internal then execute the command else // external search for the command program, fork a process to execute it }

Man – online help Man cmd -- presents the online manual page for the command cmd Try man ls, man cp, man rm, etc Try man man Try man – k

Command line processing Command aliasing Filename substitution Command substitution Variable substitution History substitution

Input/Output redirection and Pipe Cmd < inputfile Cmd > outputfile Cmd1 | cmd2