SlideShare a Scribd company logo
Presented by
D.Achudhan.
M.Sc Zoology
Department of Animal Health And Management
achukutty2612@gmail.com
 Linux operating
system developed by
programming student
Linus Torvalds
 Linus wanted to
develop Unix-like OS
just to experiment with
new 386 computer at
the time...
 What Is UNIX?
 UNIX is an operating system which was first
developed in the 1960s.
 It is a stable, multi-user, multi-tasking system for
servers, desktops and laptops.
 UNIX systems also have a graphical user interface
(GUI) similar to Microsoft Windows which
provides an easy to use environment. However,
knowledge of UNIX is required for operations
which aren't covered by a graphical program, or
for when there is no windows interface available,
for example, in a telnet session.
 The UNIX operating system is made up of
three parts;
 the kernel, the shell and the programs.
 The kernel of UNIX is the hub of the operating
system:
 it allocates time and memory to programs and
handles the file store and communications in
response to system calls.
 The shell acts as an interface between the user
and the kernel.
 There are many different versions of UNIX,
although they share common similarities.
 The most popular varieties of UNIX are Sun
Solaris, GNU/Linux, and MacOS X.
 The UNIX Operating System
 The UNIX operating system is made up of
three parts; the kernel, the shell and the
programs.
 A programming language is an artificial
language designed to express computations that
will be executed on a computer.
 Programming languages have a syntax (form)
and semantics (meaning).
 Java and C are example programming
languages
7
• Unix Commands
/home/larry#
•That “something” is called a prompt. As its
name would suggest, it is prompting you to enter
a command.
•Every unix command is a sequence of letters,
numbers and characters. But there are no
spaces.
•When you first log into a unix system, you are
presented with something that looks like the
following:
8
Unix is also case-sensitive. This means that
cat and Cat are different commands.
The prompt is displayed by a special program
called the shell.
Shells accept commands, and run those
commands.
They can also be programmed in their own
language. These programs are called “shell
scripts”.
9
 Unix provides files and directories.
 A directory is like a folder: it contains pieces of paper,
or files.
 A large folder can even hold other folders-directories
can be inside directories.
 In unix, the collection of directories and files is called
the file system. Initially, the file system consists of
one directory, called the “root” directory
 Inside “root” directory, there are more directories, and
inside those directories are files and yet more
directories.
• Storing information
 Each file and each directory has a name.
 A short name for a file could be joe,
 while it’s “full name” would be /home/larry/joe.
The full name is usually called the path.
 The path can be divide into a sequence of
directories.
For example, here is how /home/larry/joe is
read: /home/larry/joe
The initial slash indicates the root
directory. This signifies the directory
called home. It is inside the root
directory. The second slash corresponds to the
directory larry, which is inside home.
joe is inside larry.
11
 A path could refer to either a directory or a filename, so
joe could be either.
 All the items before the short name must be directories.
Root Directory
Sub-Directory
homeDirectoryDirectory
larry
joeFileFile
Directory
structure
 ls list files and directories
 ls -a list all files and directories
 mkdir make a directory
 cd directory change to named directory
 cd change to home-directory
 cd ~ change to home-directory
 cd .. change to parent directory
 pwd display current dir path
 cp file1 file2 copy file1 and call it file2
 mv file1 file2 move or rename file1 to file2
 rm file remove a file
 rmdir directory remove a directory
 cat file display a file
 more file display a file a page at a time
 who list users currently logged in
 lpr -Pprinter psfile print postscript file to named printer
 * match any number of characters
 ? match one character
 man command read the online manual page
for a command
 command > file redirect standard output to a file
 command >> file append standard output to a file
 command < file redirect standard input from a file
 grep 'keyword' file search a file for keywords
% grep science science.txt
 wc file count number of lines/words/characters in file
% wc -w science.txt
 sort sort data (numerically or alphabetically)
Ex:
to sort the list of object, type
% sort < biglist
and the sorted list will be output to the screen.
TIME
User 1
User 2
User 3
User 4
User 5
User 6
User 7
User 8
 The Unix OS is a multi-user OS allowing more
that more person to directly communicate with
the computer.
 Although the OS can only work on one task at
a time, a small piece of time (time slice) is
dedicated to each task or user - this is referred
to as “time-sharing”.
 Time sharing gives the illusion that the CPU is
giving all the users its full attention
Operating systems   unix

More Related Content

What's hot

UNIX Operating System ppt
UNIX Operating System pptUNIX Operating System ppt
Unix - An Introduction
Unix - An IntroductionUnix - An Introduction
Unix - An Introduction
Deepanshu Gahlaut
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
Nishant Munjal
 
Windows vs linux prsentsn
Windows vs linux prsentsnWindows vs linux prsentsn
Windows vs linux prsentsn
Anadi Vatsa
 
Linux presentation
Linux presentationLinux presentation
Linux presentationNikhil Jain
 
Linux ppt
Linux pptLinux ppt
Linux ppt
lincy21
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
f114n
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
ABhay Panchal
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
Md. Zahid Hossain Shoeb
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
Goutam Sahoo
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
anandvaidya
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
MahakKasliwal
 
Linux
LinuxLinux
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
Adrian Mikeliunas
 
Linux os and its features
Linux os and its featuresLinux os and its features
Linux os and its features
Kadiresan Nagarattiname
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & featuresRohit Kumar
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
subhsikha
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
Veeral Bhateja
 

What's hot (20)

UNIX Operating System ppt
UNIX Operating System pptUNIX Operating System ppt
UNIX Operating System ppt
 
Unix - An Introduction
Unix - An IntroductionUnix - An Introduction
Unix - An Introduction
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Windows vs linux prsentsn
Windows vs linux prsentsnWindows vs linux prsentsn
Windows vs linux prsentsn
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Linux ppt
Linux pptLinux ppt
Linux ppt
 
Introduction to Linux basic
Introduction to Linux basicIntroduction to Linux basic
Introduction to Linux basic
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Unix operating system
Unix operating systemUnix operating system
Unix operating system
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
An Introduction to Linux
An Introduction to LinuxAn Introduction to Linux
An Introduction to Linux
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Linux
LinuxLinux
Linux
 
Linux introduction, class 1
Linux introduction, class 1Linux introduction, class 1
Linux introduction, class 1
 
Linux os and its features
Linux os and its featuresLinux os and its features
Linux os and its features
 
Linux history & features
Linux history & featuresLinux history & features
Linux history & features
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Presentation on linux
Presentation on linuxPresentation on linux
Presentation on linux
 

Similar to Operating systems unix

Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritping
chockit88
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
homeworkping3
 
UNIX.pptx
UNIX.pptxUNIX.pptx
UNIX.pptx
P S Rani
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
asif64436
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
Duressa Teshome
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
sbmguys
 
Basics of unix
Basics of unixBasics of unix
Basics of unix
Arnold Derrick Kinney
 
Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools
Vu Hung Nguyen
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
KiranMantri
 
Operating system
Operating systemOperating system
Operating system
HarshithaAllu
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure
amol_chavan
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma
perweeng31
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
sudheer yathagiri
 
computer notes - Unix primer
computer notes - Unix primercomputer notes - Unix primer
computer notes - Unix primer
ecomputernotes
 
Unix training session 1
Unix training   session 1Unix training   session 1
Unix training session 1
Anil Kumar Kapil,PMP®
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
nanocdac
 
Module1
Module1Module1
Module1
shahilashahul
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
Nikhil Raut
 

Similar to Operating systems unix (20)

Karkha unix shell scritping
Karkha unix shell scritpingKarkha unix shell scritping
Karkha unix shell scritping
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
UNIX.pptx
UNIX.pptxUNIX.pptx
UNIX.pptx
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
 
User administration concepts and mechanisms
User administration concepts and mechanismsUser administration concepts and mechanisms
User administration concepts and mechanisms
 
Introduction to UNIX
Introduction to UNIXIntroduction to UNIX
Introduction to UNIX
 
Unix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell ScriptUnix/Linux Basic Commands and Shell Script
Unix/Linux Basic Commands and Shell Script
 
Basics of unix
Basics of unixBasics of unix
Basics of unix
 
Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools Nguyễn Vũ Hưng: Basic Linux Power Tools
Nguyễn Vũ Hưng: Basic Linux Power Tools
 
Shell_Scripting.ppt
Shell_Scripting.pptShell_Scripting.ppt
Shell_Scripting.ppt
 
Unix1
Unix1Unix1
Unix1
 
Operating system
Operating systemOperating system
Operating system
 
Unix operating system architecture with file structure
Unix operating system architecture with file structure Unix operating system architecture with file structure
Unix operating system architecture with file structure
 
18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma18 LINUX OS.pptx Linux command is basic isma
18 LINUX OS.pptx Linux command is basic isma
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 
computer notes - Unix primer
computer notes - Unix primercomputer notes - Unix primer
computer notes - Unix primer
 
Unix training session 1
Unix training   session 1Unix training   session 1
Unix training session 1
 
Introduction to linux
Introduction to linuxIntroduction to linux
Introduction to linux
 
Module1
Module1Module1
Module1
 
linux-lecture1.ppt
linux-lecture1.pptlinux-lecture1.ppt
linux-lecture1.ppt
 

More from Achu dhan

continental shelf region
continental shelf regioncontinental shelf region
continental shelf region
Achu dhan
 
Hybridoma Technology
Hybridoma Technology Hybridoma Technology
Hybridoma Technology
Achu dhan
 
Data Presentation and Slide Preparation
Data Presentation and Slide PreparationData Presentation and Slide Preparation
Data Presentation and Slide Preparation
Achu dhan
 
Construction of gene library
Construction of gene libraryConstruction of gene library
Construction of gene library
Achu dhan
 
Biochemistry
BiochemistryBiochemistry
Biochemistry
Achu dhan
 
Trophic Structure of Ecosystems
Trophic Structure of EcosystemsTrophic Structure of Ecosystems
Trophic Structure of Ecosystems
Achu dhan
 

More from Achu dhan (6)

continental shelf region
continental shelf regioncontinental shelf region
continental shelf region
 
Hybridoma Technology
Hybridoma Technology Hybridoma Technology
Hybridoma Technology
 
Data Presentation and Slide Preparation
Data Presentation and Slide PreparationData Presentation and Slide Preparation
Data Presentation and Slide Preparation
 
Construction of gene library
Construction of gene libraryConstruction of gene library
Construction of gene library
 
Biochemistry
BiochemistryBiochemistry
Biochemistry
 
Trophic Structure of Ecosystems
Trophic Structure of EcosystemsTrophic Structure of Ecosystems
Trophic Structure of Ecosystems
 

Recently uploaded

APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
Boni García
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
QuickwayInfoSystems3
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
Google
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
Aftab Hussain
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
Neo4j
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
Fermin Galan
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
Hornet Dynamics
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
vrstrong314
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
Donna Lenk
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Łukasz Chruściel
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
abdulrafaychaudhry
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
 

Recently uploaded (20)

APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)APIs for Browser Automation (MoT Meetup 2024)
APIs for Browser Automation (MoT Meetup 2024)
 
Enterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptxEnterprise Software Development with No Code Solutions.pptx
Enterprise Software Development with No Code Solutions.pptx
 
AI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website CreatorAI Genie Review: World’s First Open AI WordPress Website Creator
AI Genie Review: World’s First Open AI WordPress Website Creator
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of CodeA Study of Variable-Role-based Feature Enrichment in Neural Models of Code
A Study of Variable-Role-based Feature Enrichment in Neural Models of Code
 
GraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph TechnologyGraphSummit Paris - The art of the possible with Graph Technology
GraphSummit Paris - The art of the possible with Graph Technology
 
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket ManagementUtilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
Utilocate provides Smarter, Better, Faster, Safer Locate Ticket Management
 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604Orion Context Broker introduction 20240604
Orion Context Broker introduction 20240604
 
Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
Vitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdfVitthal Shirke Java Microservices Resume.pdf
Vitthal Shirke Java Microservices Resume.pdf
 
E-commerce Application Development Company.pdf
E-commerce Application Development Company.pdfE-commerce Application Development Company.pdf
E-commerce Application Development Company.pdf
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
Nidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, TipsNidhi Software Price. Fact , Costs, Tips
Nidhi Software Price. Fact , Costs, Tips
 
Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"Navigating the Metaverse: A Journey into Virtual Evolution"
Navigating the Metaverse: A Journey into Virtual Evolution"
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️Need for Speed: Removing speed bumps from your Symfony projects ⚡️
Need for Speed: Removing speed bumps from your Symfony projects ⚡️
 
Pro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp BookPro Unity Game Development with C-sharp Book
Pro Unity Game Development with C-sharp Book
 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
 

Operating systems unix

  • 1. Presented by D.Achudhan. M.Sc Zoology Department of Animal Health And Management achukutty2612@gmail.com
  • 2.  Linux operating system developed by programming student Linus Torvalds  Linus wanted to develop Unix-like OS just to experiment with new 386 computer at the time...
  • 3.  What Is UNIX?  UNIX is an operating system which was first developed in the 1960s.  It is a stable, multi-user, multi-tasking system for servers, desktops and laptops.  UNIX systems also have a graphical user interface (GUI) similar to Microsoft Windows which provides an easy to use environment. However, knowledge of UNIX is required for operations which aren't covered by a graphical program, or for when there is no windows interface available, for example, in a telnet session.
  • 4.  The UNIX operating system is made up of three parts;  the kernel, the shell and the programs.  The kernel of UNIX is the hub of the operating system:  it allocates time and memory to programs and handles the file store and communications in response to system calls.  The shell acts as an interface between the user and the kernel.
  • 5.  There are many different versions of UNIX, although they share common similarities.  The most popular varieties of UNIX are Sun Solaris, GNU/Linux, and MacOS X.  The UNIX Operating System  The UNIX operating system is made up of three parts; the kernel, the shell and the programs.
  • 6.  A programming language is an artificial language designed to express computations that will be executed on a computer.  Programming languages have a syntax (form) and semantics (meaning).  Java and C are example programming languages
  • 7. 7 • Unix Commands /home/larry# •That “something” is called a prompt. As its name would suggest, it is prompting you to enter a command. •Every unix command is a sequence of letters, numbers and characters. But there are no spaces. •When you first log into a unix system, you are presented with something that looks like the following:
  • 8. 8 Unix is also case-sensitive. This means that cat and Cat are different commands. The prompt is displayed by a special program called the shell. Shells accept commands, and run those commands. They can also be programmed in their own language. These programs are called “shell scripts”.
  • 9. 9  Unix provides files and directories.  A directory is like a folder: it contains pieces of paper, or files.  A large folder can even hold other folders-directories can be inside directories.  In unix, the collection of directories and files is called the file system. Initially, the file system consists of one directory, called the “root” directory  Inside “root” directory, there are more directories, and inside those directories are files and yet more directories. • Storing information
  • 10.  Each file and each directory has a name.  A short name for a file could be joe,  while it’s “full name” would be /home/larry/joe. The full name is usually called the path.  The path can be divide into a sequence of directories. For example, here is how /home/larry/joe is read: /home/larry/joe The initial slash indicates the root directory. This signifies the directory called home. It is inside the root directory. The second slash corresponds to the directory larry, which is inside home. joe is inside larry.
  • 11. 11  A path could refer to either a directory or a filename, so joe could be either.  All the items before the short name must be directories. Root Directory Sub-Directory homeDirectoryDirectory larry joeFileFile Directory structure
  • 12.  ls list files and directories  ls -a list all files and directories  mkdir make a directory  cd directory change to named directory  cd change to home-directory  cd ~ change to home-directory  cd .. change to parent directory  pwd display current dir path
  • 13.  cp file1 file2 copy file1 and call it file2  mv file1 file2 move or rename file1 to file2  rm file remove a file  rmdir directory remove a directory  cat file display a file  more file display a file a page at a time  who list users currently logged in  lpr -Pprinter psfile print postscript file to named printer  * match any number of characters  ? match one character  man command read the online manual page for a command
  • 14.  command > file redirect standard output to a file  command >> file append standard output to a file  command < file redirect standard input from a file  grep 'keyword' file search a file for keywords % grep science science.txt  wc file count number of lines/words/characters in file % wc -w science.txt  sort sort data (numerically or alphabetically) Ex: to sort the list of object, type % sort < biglist and the sorted list will be output to the screen.
  • 15. TIME User 1 User 2 User 3 User 4 User 5 User 6 User 7 User 8
  • 16.  The Unix OS is a multi-user OS allowing more that more person to directly communicate with the computer.  Although the OS can only work on one task at a time, a small piece of time (time slice) is dedicated to each task or user - this is referred to as “time-sharing”.  Time sharing gives the illusion that the CPU is giving all the users its full attention