2
Most read
4
Most read
5
Most read
UNIX OPERATING SYSTEM
What is Unix?
The Unix operating system is a set of programs that act as a link between the computer and
the user.
The computer program that allocates the system resources and coordinates all the details of
the computer's internal is called the operating system or the kernel.
Users communicate with the kernel through a program known as the shell. The shell is a
command line interpreter; it translates commands entered by the user and converts them into a
language that is understood by the kernel.
•Unix was originally developed in 1969 by a group of AT&T employees Ken Thompson,
Dennis Ritchie, Douglas McIlroy, and Joe Ossanna at Bell Labs.
•There are various Unix variants available in the market. Solaris Unix, AIX, HP Unix and
BSD are a few examples. Linux is also a flavor of Unix which is freely available.
•Several people can use a Unix computer at the same time; hence Unix is called a
multiuser system.
•A user can also run multiple programs at the same time; hence Unix is a multitasking
environment.
Unix Architecture
Here is a basic block diagram of a Unix system –
The main concept that unites all the versions of Unix is the following four basics −
•Kernel: The kernel is the heart of the operating system. It interacts with the hardware and most of the
tasks like memory management, task scheduling and file management.
•Shell: The shell is the utility that processes your requests. When you type in a command at your
terminal, the shell interprets the command and calls the program that you want. The shell uses standard
syntax for all commands. C Shell, Bourne Shell and Korn Shell are the most famous shells which are
available with most of the Unix variants.
•Commands and Utilities: There are various commands and utilities which you can make use of in your
day to day activities. cp, mv, cat and grep, etc. are few examples of commands and utilities. There are
over 250 standard commands plus numerous others provided through 3rd party software. All the
commands come along with various options.
•Files and Directories: All the data of Unix is organized into files. All files are then organized into
directories. These directories are further organized into a tree-like structure called the file system.
CONT….
Unix Commands
Files:
•ls → lists your files
•ls -l → lists your files in 'long format', which contains lots of useful information, e.g. the exact size of
the file, who owns the file and who has the right to look at it, and when it was last modified.
•ls -a →lists all files, including the ones whose filenames begin in a dot, which you do not always want to
see.
•emacs filename →is an editor that lets you create and edit a file.
•mv filename1 filename2 →moves a file (i.e. gives it a different name, or moves it into a different
directory (see below)
•cp filename1 filename2 →copies a file
•rm filename →removes a file. It is wise to use the option rm -i, which will ask you for confirmation
before actually deleting anything.
•diff filename1 filename2 →compares files, and shows where they differ
•wc filename →tells you how many lines, words, and characters there are in a file
•chmod options filename →lets you change the read, write, and execute permissions on your files.
CONT…
•Printing
lpr filename →print. Use the -P option to specify the printer name if you want to use a printer
other than your default printer. For example, if you want to print double-sided, use 'lpr -Pvalkyr-d',
or if you're at CSLI, you may want to use 'lpr -Pcord115-d'. See 'help printers' for more information
about printers and their locations.
lpq →check out the printer queue, e.g. to get the number needed for removal, or to see how many
other files will be printed before yours will come out
•File Compression
gzip filename →compresses files, so that they take up much less space. Usually text files
compress to about half their original size, but it depends very much on the size of the file and the
nature of the contents. Gzip produces files with the ending '.gz' appended to the original filename.
gunzip filename →uncompresses files compressed by gzip.
gzcat filename →lets you look at a gzipped file without actually having to gunzip it (same
as gunzip -c). You can even print it directly, using gzcat filename | lpr
CONT…
Directories:
•mkdir dirname →make a new directory
•cd dirname →change directory. You basically 'go' to another directory, and you will see the files in that
directory when you do 'ls'. You always start out in your 'home directory', and you can get back there by
typing 'cd' without arguments. 'cd ..' will get you one level up from your current position. You don't have
to walk along step by step - you can make big leaps.
•pwd →tells you where you currently are.
lprm jobnumber →remove something from the printer queue. You can find the job number by
using lpq. Theoretically you also have to specify a printer name, but this isn't necessary as long as
you use your default printer in the department.
genscript →converts plain text files into postscript for printing, and gives you some options for
formatting. Consider making an alias like alias ecop 'genscript -2 -r !* | lpr -h -Pvalkyr' to print
two pages on one piece of paper.
dvips filename →print .dvi files (i.e. files produced by LaTeX). You can use dviselect to print
only selected pages.
Miscellaneous Tools:
•date →shows the current date and time.
•cal →shows a calendar of the current month. Use e.g., 'cal 10 1995' to get that for October 95, or 'cal
1995' to get the whole year.
CONT…
Finding Things:
•ff →find files anywhere on the system. This can be extremely useful if you've forgotten in which
directory you put a file, but do remember the name. In fact, if you use ff -p you don't even need the full
name, just the beginning. This can also be useful for finding other things on the system, e.g.
documentation.
•grep string filename(s) →looks for the string in the files. This can be useful a lot of purposes, e.g.
finding the right file among many, figuring out which is the right version of something, and even doing
serious corpus work. grep comes in several varieties (grep, egrep, and fgrep) and has a lot of very
flexible options. Check out the man pages if this sounds good to you.

More Related Content

PPTX
PPTX
Unix ppt
PPT
Problem Management
PPTX
Linux operating system - Overview
PPT
2.4 rule based classification
PPTX
Unix operating system
PPTX
Linux commands
PPTX
Integers Class 7
Unix ppt
Problem Management
Linux operating system - Overview
2.4 rule based classification
Unix operating system
Linux commands
Integers Class 7

What's hot (20)

PPTX
Linux.ppt
PPTX
Unix
PPTX
Linux file system
PPT
Linux Administration
PPT
Linux basics
PPTX
Introduction to Unix
PPT
Linux - Introductions to Linux Operating System
PDF
Shell scripting
PPT
Linux os and its features
PPTX
Different types of Editors in Linux
PPTX
Introduction to linux ppt
ODP
Introduction to Shell script
ODP
Linux commands
PPTX
PPTX
Linux ppt
PPTX
Operating system components
PPTX
Operating system
PPTX
UNIX Operating System
PPTX
Software management in linux
PPTX
Linux kernel
Linux.ppt
Unix
Linux file system
Linux Administration
Linux basics
Introduction to Unix
Linux - Introductions to Linux Operating System
Shell scripting
Linux os and its features
Different types of Editors in Linux
Introduction to linux ppt
Introduction to Shell script
Linux commands
Linux ppt
Operating system components
Operating system
UNIX Operating System
Software management in linux
Linux kernel
Ad

Similar to Unix ppt (20)

PPTX
INTRODUCTION TO LINUX
PPTX
PDF
Introduction to linux
PPTX
Linux week 2
PPTX
LINUX (1).pptxtytyyyyyyuuuuuuuuuuurttttttrrrrrr
PPTX
Linux Basics.pptx
PDF
MCLS 45 Lab Manual
PPT
Online Training in Unix Linux Shell Scripting in Hyderabad
PPTX
Unix Shell Script - 2 Days Session.pptx
PPTX
Linuxtraining 130710022121-phpapp01
PPT
Unix 2 en
PPTX
Linux Commands all presentation file .pptx
PPTX
PPT
redhat_by_Cbitss.ppt
PDF
Module 3 Using Linux Softwares.
PDF
Unix _linux_fundamentals_for_hpc-_b
PPTX
UNIX/Linux training
PDF
The structure of Linux - Introduction to Linux for bioinformatics
PDF
Linux For Beginners! Ultimate guide to Linux Users!!
PPT
LINUX
INTRODUCTION TO LINUX
Introduction to linux
Linux week 2
LINUX (1).pptxtytyyyyyyuuuuuuuuuuurttttttrrrrrr
Linux Basics.pptx
MCLS 45 Lab Manual
Online Training in Unix Linux Shell Scripting in Hyderabad
Unix Shell Script - 2 Days Session.pptx
Linuxtraining 130710022121-phpapp01
Unix 2 en
Linux Commands all presentation file .pptx
redhat_by_Cbitss.ppt
Module 3 Using Linux Softwares.
Unix _linux_fundamentals_for_hpc-_b
UNIX/Linux training
The structure of Linux - Introduction to Linux for bioinformatics
Linux For Beginners! Ultimate guide to Linux Users!!
LINUX
Ad

More from Dr Rajiv Srivastava (20)

PPTX
Trends of it
PDF
Placement at sagar group Bhopal | SIRT College Bhopal
PPTX
How to Prepare for Group Discussion
PPTX
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
PPT
lecture on data compression
PPT
Topic : X.25, Frame relay and ATM
PPT
Topic : B ISDN
PPT
Topic : ISDN(integrated services digital network) part 2
PPT
Topic: ISDN (Integrated Services Digital Network)
PPT
Topic: Virtual circuit & message switching
PPT
Topic Packet switching
PPT
Introduction to switching & circuit switching
PPT
Topic:Terminal handling & polling
PPT
Topic: Spread Spectrum
PPT
Applications of Time Division multiplexing : statistical TDM
PPT
Multiplexing : Wave Division Multiplexing
PPT
Multiplexing : FDM
PDF
Data Communication & Computer network: Shanon fano coding
PDF
Data Communication & Computer Networks : LZW compression method
PDF
Data Communication & Computer Networks : LZ algorithms
Trends of it
Placement at sagar group Bhopal | SIRT College Bhopal
How to Prepare for Group Discussion
SAGE GROUP - BEST ENGINEERING COLLEGE IN BHOPAL MP
lecture on data compression
Topic : X.25, Frame relay and ATM
Topic : B ISDN
Topic : ISDN(integrated services digital network) part 2
Topic: ISDN (Integrated Services Digital Network)
Topic: Virtual circuit & message switching
Topic Packet switching
Introduction to switching & circuit switching
Topic:Terminal handling & polling
Topic: Spread Spectrum
Applications of Time Division multiplexing : statistical TDM
Multiplexing : Wave Division Multiplexing
Multiplexing : FDM
Data Communication & Computer network: Shanon fano coding
Data Communication & Computer Networks : LZW compression method
Data Communication & Computer Networks : LZ algorithms

Recently uploaded (20)

PPT
hsl powerpoint resource goyloveh feb 07.ppt
PPTX
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
PDF
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
PPTX
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
PDF
Developing speaking skill_learning_mater.pdf
PDF
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
PPTX
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
PPTX
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
DOCX
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
PDF
Physical pharmaceutics two in b pharmacy
PPTX
Neurology of Systemic disease all systems
PDF
Laparoscopic Imaging Systems at World Laparoscopy Hospital
PDF
FYJC - Chemistry textbook - standard 11.
PDF
New_Round_Up_6_SB.pdf download for free, easy to learn
PDF
gsas-cvs-and-cover-letters jhvgfcffttfghgvhg.pdf
PPTX
MMW-CHAPTER-1-final.pptx major Elementary Education
PDF
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
PDF
horaris de grups del curs 2025-2026 de l'institut
PPTX
UCSP Section A - Human Cultural Variations,Social Differences,social ChangeCo...
PDF
anganwadi services for the b.sc nursing and GNM
hsl powerpoint resource goyloveh feb 07.ppt
PAIN PATHWAY & MANAGEMENT OF ACUTE AND CHRONIC PAIN SPEAKER: Dr. Rajasekhar ...
V02-Session-4-Leadership-Through-Assessment-MLB.pdf
ENGlishGrade8_Quarter2_WEEK1_LESSON1.pptx
Developing speaking skill_learning_mater.pdf
Jana-Ojana Finals 2025 - School Quiz by Pragya - UEMK Quiz Club
Unit1_Kumod_deeplearning.pptx DEEP LEARNING
Cite It Right: A Compact Illustration of APA 7th Edition.pptx
HELMET DETECTION AND BIOMETRIC BASED VEHICLESECURITY USING MACHINE LEARNING.docx
Physical pharmaceutics two in b pharmacy
Neurology of Systemic disease all systems
Laparoscopic Imaging Systems at World Laparoscopy Hospital
FYJC - Chemistry textbook - standard 11.
New_Round_Up_6_SB.pdf download for free, easy to learn
gsas-cvs-and-cover-letters jhvgfcffttfghgvhg.pdf
MMW-CHAPTER-1-final.pptx major Elementary Education
HSE 2022-2023.pdf الصحه والسلامه هندسه نفط
horaris de grups del curs 2025-2026 de l'institut
UCSP Section A - Human Cultural Variations,Social Differences,social ChangeCo...
anganwadi services for the b.sc nursing and GNM

Unix ppt

  • 2. What is Unix? The Unix operating system is a set of programs that act as a link between the computer and the user. The computer program that allocates the system resources and coordinates all the details of the computer's internal is called the operating system or the kernel. Users communicate with the kernel through a program known as the shell. The shell is a command line interpreter; it translates commands entered by the user and converts them into a language that is understood by the kernel. •Unix was originally developed in 1969 by a group of AT&T employees Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna at Bell Labs. •There are various Unix variants available in the market. Solaris Unix, AIX, HP Unix and BSD are a few examples. Linux is also a flavor of Unix which is freely available. •Several people can use a Unix computer at the same time; hence Unix is called a multiuser system. •A user can also run multiple programs at the same time; hence Unix is a multitasking environment.
  • 3. Unix Architecture Here is a basic block diagram of a Unix system –
  • 4. The main concept that unites all the versions of Unix is the following four basics − •Kernel: The kernel is the heart of the operating system. It interacts with the hardware and most of the tasks like memory management, task scheduling and file management. •Shell: The shell is the utility that processes your requests. When you type in a command at your terminal, the shell interprets the command and calls the program that you want. The shell uses standard syntax for all commands. C Shell, Bourne Shell and Korn Shell are the most famous shells which are available with most of the Unix variants. •Commands and Utilities: There are various commands and utilities which you can make use of in your day to day activities. cp, mv, cat and grep, etc. are few examples of commands and utilities. There are over 250 standard commands plus numerous others provided through 3rd party software. All the commands come along with various options. •Files and Directories: All the data of Unix is organized into files. All files are then organized into directories. These directories are further organized into a tree-like structure called the file system. CONT….
  • 5. Unix Commands Files: •ls → lists your files •ls -l → lists your files in 'long format', which contains lots of useful information, e.g. the exact size of the file, who owns the file and who has the right to look at it, and when it was last modified. •ls -a →lists all files, including the ones whose filenames begin in a dot, which you do not always want to see. •emacs filename →is an editor that lets you create and edit a file. •mv filename1 filename2 →moves a file (i.e. gives it a different name, or moves it into a different directory (see below) •cp filename1 filename2 →copies a file •rm filename →removes a file. It is wise to use the option rm -i, which will ask you for confirmation before actually deleting anything. •diff filename1 filename2 →compares files, and shows where they differ •wc filename →tells you how many lines, words, and characters there are in a file •chmod options filename →lets you change the read, write, and execute permissions on your files.
  • 6. CONT… •Printing lpr filename →print. Use the -P option to specify the printer name if you want to use a printer other than your default printer. For example, if you want to print double-sided, use 'lpr -Pvalkyr-d', or if you're at CSLI, you may want to use 'lpr -Pcord115-d'. See 'help printers' for more information about printers and their locations. lpq →check out the printer queue, e.g. to get the number needed for removal, or to see how many other files will be printed before yours will come out •File Compression gzip filename →compresses files, so that they take up much less space. Usually text files compress to about half their original size, but it depends very much on the size of the file and the nature of the contents. Gzip produces files with the ending '.gz' appended to the original filename. gunzip filename →uncompresses files compressed by gzip. gzcat filename →lets you look at a gzipped file without actually having to gunzip it (same as gunzip -c). You can even print it directly, using gzcat filename | lpr
  • 7. CONT… Directories: •mkdir dirname →make a new directory •cd dirname →change directory. You basically 'go' to another directory, and you will see the files in that directory when you do 'ls'. You always start out in your 'home directory', and you can get back there by typing 'cd' without arguments. 'cd ..' will get you one level up from your current position. You don't have to walk along step by step - you can make big leaps. •pwd →tells you where you currently are. lprm jobnumber →remove something from the printer queue. You can find the job number by using lpq. Theoretically you also have to specify a printer name, but this isn't necessary as long as you use your default printer in the department. genscript →converts plain text files into postscript for printing, and gives you some options for formatting. Consider making an alias like alias ecop 'genscript -2 -r !* | lpr -h -Pvalkyr' to print two pages on one piece of paper. dvips filename →print .dvi files (i.e. files produced by LaTeX). You can use dviselect to print only selected pages.
  • 8. Miscellaneous Tools: •date →shows the current date and time. •cal →shows a calendar of the current month. Use e.g., 'cal 10 1995' to get that for October 95, or 'cal 1995' to get the whole year. CONT… Finding Things: •ff →find files anywhere on the system. This can be extremely useful if you've forgotten in which directory you put a file, but do remember the name. In fact, if you use ff -p you don't even need the full name, just the beginning. This can also be useful for finding other things on the system, e.g. documentation. •grep string filename(s) →looks for the string in the files. This can be useful a lot of purposes, e.g. finding the right file among many, figuring out which is the right version of something, and even doing serious corpus work. grep comes in several varieties (grep, egrep, and fgrep) and has a lot of very flexible options. Check out the man pages if this sounds good to you.