An Introduction to UNIX System --- Cosc513 Presentation n Instructor: Morteza Anvari n Author: Yonghong Pan n ID#: 105107 n Date: Jan.29, 2001.

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

CSC 360- Instructor: K. Wu Overview of Operating Systems.
CSCI 1730 April 1 st, Materials Class notes slides & some “plain old” html & source code examples linked from course calendar board notes & diagrams.
Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
Pre-Assessment Questions
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.
1 Introduction to UNIX Ke Liu
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Exploring the UNIX File System and File Security
CS 497C – Introduction to UNIX Lecture 22: - The Shell Chin-Chih Chang
Linux+ Guide to Linux Certification, Second Edition
More Shell Basics CS465 - Unix. Unix shells User’s default shell - specified in /etc/passwd file To show which shell you are currently using: $ echo $SHELL.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Introduction to Unix (CA263) Introduction to Shell Script Programming By Tariq Ibn Aziz.
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 Commands LINUX COMMANDS.
CS 141 Labs are mandatory. Attendance will be taken in each lab. Make account on moodle. Projects will be submitted via moodle.
1 The Shell and some useful administrative Unix Commands How Unix works along with some additional, useful administrative Unix commands you might need.
Guide To UNIX Using Linux Fourth Edition
Unix Primer. Unix Shell The shell is a command programming language that provides an interface to the UNIX operating system. The shell is a “regular”
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
Introduction to Shell Script Programming
Linux in More Detail Shirley Moore CPS5401 August 29,
Chapter 6: Shell Programming
The UNIX Shell. The Shell Program that constantly runs at terminal after a user has logged in. Prompts the user and waits for user input. Interprets command.
Chapter Two Exploring the UNIX File System and File Security.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
Linux+ Guide to Linux Certification Chapter Eight Working with the BASH Shell.
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
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.
Chapter Two Exploring the UNIX File System and File Security.
ITR3 lecture 6: intoduction to UNIX Thomas Krichel
Unix Shell Environments February 23rd, 2004 Class Meeting 6.
UNIX shell environments CS 2204 Class meeting 6 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
UNIX shell environments CS 2204 Class meeting 4 Created by Doug Bowman, 2001 Modified by Mir Farooq Ali, 2002.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
Advanced Programming in the UNIX Environment Hop Lee.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Slide: 1 UNIX FILE SYSTEM By:Qing Yang ID: Operating System Research Topic December, 2000.
2 Manual & Filestore Mauro Jaskelioff. Introduction Using the manual The UNIX filestore File permissions.
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.
THE UNIX SYSTEM Jan Recitation 2 Introduction to Networking.
Jozef Goetz, expanded by Jozef Goetz, 2006 Credits: Parts of the slides are based on slides created by textbook authors, Syed M. Sarwar, Robert.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
1 CS3695 – Network Vulnerability Assessment & Risk Mitigation – Introduction to Unix & Linux.
Lesson 8-Specifying Instructions to the Shell. Overview An overview of shell. Execution of commands in a shell. Shell command-line expansion. Customizing.
Learning Unix/Linux Based on slides from: Eric Bishop.
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 SHELL SCRIPTING By Byamukama Frank
SUSE Linux Enterprise Desktop Administration
Shell Features CSCI N321 – System and Network Administration
Avani R.Vasant V.V.P. Engineering College
Some Linux Commands.
UNIX System Overview.
UNIX & file system cosc513 Deyong Xu ID: Nov
An Introduction to UNIX System --- Cosc513 Presentation
Exploring the UNIX File System and File Security
John Carelli, Instructor Kutztown University
Unix : Introduction and Commands
Introduction Paul Flynn
Unix Shell Environments
Linux Commands LINUX COMMANDS.
Consult America Technology Consulting Services
January 26th, 2004 Class Meeting 2
Presentation transcript:

An Introduction to UNIX System --- Cosc513 Presentation n Instructor: Morteza Anvari n Author: Yonghong Pan n ID#: n Date: Jan.29, 2001

What is an Operating System? n In today’ market, every computer has an operating system. n Operating systems is a program that controls all the other parts of a computer system - both the hardware and the software. n Operating system allows us to make use of the facilities provided by the system.

UNIX: n Unix is one kind of the operating systems. n The UNIX operating system has three important features: the kernel, the shell and Unix file system.

Kernel: n The kernel is at the core of each UNIX system and is loaded in whenever the system is started up - referred to as a boot of the system.

Function of Kernel n The most important functions of kernel are: n managing the machine's memory and allocating it to each process. n scheduling the work done by the CPU so that the work of each user is carried out as efficiently as is possible. n organizing the transfer of data from one part of the machine to another. n accepting instructions from the shell and carrying them out. n enforcing the access permissions that are in force on the file system.

How to locate the kernel file? n Usually, the root directory contains both the boot program and the file containing the kernel for the system. The name of the kernel file varies, but will usually include the letters “nix” so you can search for it with wildcard characters. For example: ls /*nix* -rwxr root Sep /dump

Shell: n Shell is the program whenever you login to a Unix system. You will see command prompt at the bottom left of your screen after you login. n The shell acts as a command interpreter; it takes each command you enter and passes it to the operating system kernel to be acted upon. Finally, it displays the results of this operation on your screen.

Feathers of Shell: n With shell you can: n Create an environment that meets your needs. n Write shell scripts. n Define command aliases. n Manipulate the command history. n Automatically complete the command line. n Edit the command line.

Different types of Shell: n There are several different types of shell. The following are most popular ones: n bourne shell (sh); (First release in 1978) n c shell (csh); (First release in 1977) n TC shell (tcsh); n Korn shell (ksh); n bourne Again shell (bash);

UNIX File System: n The file is the smallest unit in which information is stored. n A file system is a logical method for organizing and storing large amounts of information in a way which makes it easy manage.

Feathers of Unix File System: n The Unix File System has the following important feathers: n 1)different types of file; n 2)structure of the file system; n 3)your home directory; n 4)your current directory; n 5)pathnames; n 6)access permissions;

Different types of file n As a user, it seems to you there is only one type of file in Unix which hold your information. In fact there is several different types of file: 1)Ordinary files; 2)Directories; 3)Special files; 4)Pipes;

Ordinary Files n This is type of file you usually work with. It is used to store your information, such as text file you edit or the image you draw.

Special Files n This type of file is used to display physical devices such as printers, tape drives, terminals, etc. n Usually, directory /dev contains the special files which are used to represent devices on a UNIX system. n Directory /dev/null is the special place to which you can redirect unwanted output.

Pipes n Unix allows you to link multiple commands together by using a pipe. n The pipe takes the standard output from one command and uses it as the standard input to another command. command1 | command2 | command3 n Pipes act a temporary file which only exist to hold data from one command until it is read by another. n

Structure of Unix File System n The UNIX file system is organized as a hierarchy of directories starting from a single directory called root which is represented by a / (slash). n Immediately below the root directory are several system directories that contain information required by the operating system.

Unix System Directories n The standard system directories are shown as diagram on the next slide. Each one contains specific types of file. The details may vary between different Unix systems, but these directories should be common to all.

Unix System Directories

Home Directory n Unix home directory is the place whenever you log on to Unix system. n User's home directories are usually grouped together under a system directory such as /home. Each different user has his own subdirectory of /home. n

Current Directory n As we know by the name, current directory is the directory where you are currently in. n When the first time you logon to Unix system, home directory is your current directory.

Pathnames n Every file and directory in the file system can be identified by a complete list of the directories’ name from the root directory to that file or directory. n Each directory name on the route is separated by a forward slash ( / ). n eg. /home/dsmith/working/

Access Permissions n You can change files and directories permissions to allow other user to access your files or directories if you want by using command: chmod mode [filename|directory_name] n You can display access permissions by using command: ls -l [filename|directory_name] -rwx ipan devlop 7204 Jan 19 11:49 bcp.sql -rwx ipan devlop 3392 Jan 17 11:47 bcp_master.sql drwxrwxr-x 2 ipan devlop 512 Jan 2 15:41 bin

Summary n Unix consider any physical device attached to it to be a file. n Files are organized in a tree-structure directories. n Files and Directories can be protected by setting access permissions.

Reference: n n Unix Power Tools,Author: Jerry Peek

The End