Unix - An Introduction

Deepanshu Gahlaut
Deepanshu GahlautDigital Marketer and Blogger at Real Time Data Services
UNIX Operating System
An Introduction
http://www.deepanshugahlaut.com/blog/introduction-to-unix-operating-system/
By:
Deepanshu Gahlaut
Web and Social Media Enthusiastic
www.deepanshugahlaut.com
Unix - An Introduction
Let’s Start With Basics ...
What is Operating System?
The Operating System is the System
S/W which acts as an interface
between user and computer’s H/W.
It acts as the brain of computer system
which controls all other component of
computer system.
Unix - An Introduction
Most Popular OS
Getting Started
Unix is a multiuser, multitasking OS from
AT & T that runs on a wide variety of
computer system from micro to super
computers. UNIX was developed in 1969
by Ken Thompson & Dennis Ritchie. Unix
was written in C language.
What is UNIX?
We use the term "Unix" in a collective
sense to refer to Unix, Unix-derived,
and Unix-like systems.
Image credit - tdrnetworks
UNIX Categories
There are three kinds of Unix System -
Genetic UNIX
Trademark or Branded UNIX
Functional UNIX
Those systems with a historical connection
to the AT&T codebase. For example -
BSD systems.
#1. Genetic UNIX
Systems such as Linux or Minix that
behave similarly to a UNIX system but
have no genetic or trademark
connection to the AT&T code base.
#2. Functional UNIX
These systems—largely commercial in
nature—have been determined by the
Open Group and are allowed to carry
the UNIX name.
For ex- System V , Apple Mac OS X 10.5
#3. Trademark or Branded UNIX
There are more than fifty flavors of UNIX in use
today. Brands and versions of UNIX that are in
common use are:
AIX from IBM
Solaris from SUN Microsystems
HP-UX and Tru64 from Hewlett Packard
UnixWare from Caldera
Linux and FreeBSD, which are open source
UNIX Historical Implementation
Unix - An Introduction
UNIX Features
Portability
Multi-user Capability
Multitasking Capability
Security
Built-in Networking
Programming Facility
The UNIX Toolkit
UNIX Structure
The architecture of UNIX can be divided into three
levels of functionality-
The lowest level is the kernel is the core of OS &
communicates directly to H/w.
 The next level is the shell, which acts as the interface
b/w user & kernel.
Kernel is represented by file /stand/unix or /unix
The highest level is utilities, or application programs
which provides utility functions.
The shell is represented by sh(Bourne Shell), csh(C shell),
ksh(Korn Shell), bash(Bash shell).
To know running shell use echo $shell
UNIX has a large family of powerful commands.
Some major commands are:
date, mkdir, cd, pwd, rmdir, ls, cp, mv, rm, cat, cal, who,
tput clear, man, passwd, path, ps, chmod, chown, more
etc.
UNIX Commands
date: displays the date and time.
ex: $ date [enter]
wed march 31 16: 22:40 IST 2005
cal: displays the calendar of any specific month or year.
ex: $ cal 2004 [enter]
who: displays the list of users that are currently logged into
system.
ex: $ who [enter]
Deepanshu console may 9 09:31
John pts/4 may 9 09:31
cat: creates a file.
ex: $ cat>filename [enter]
ls: displays the list of files and directories.
ex: $ date [enter]
wed march 31 16: 22:40 IST 2005
mkdir: creates directories.
ex: $ mkdir abc [enter]
rmdir: removes directories.
ex: $ rmdir abc [enter]
mv: perform two functions.
1. Renames a file or directory.
2. Moves a group of files to different directory.
ex: $ mv c1 b1 [enter]
renames c1 to b1
$ mv c1 c2 abc[enter]
moves c1, c2 to directory abc
cp: for copying one or more files.
ex: $ cp sourcefilename destinationfilename [enter]
rm: deletes one or more files.
ex: $ rm c1 c2 c3 [enter]
cat: display contents of file on screen.
ex: $ cat filename [enter]
tput clear: clears the screen.
ex: $ tput clear [enter]
pwd: display path of your present working directory.
ex: $ pwd [enter]
/home/sharma
cd: change the current working directory to another.
ex: $ cd ram [enter]
$pwd
/home/sharma/ram
Unix provides various general purpose
utilities having diverse functionality . Some
of them are:
cal, date, echo, bc, printf, passwd, man,
whatis, mailx etc.
General Purpose Utilities
bc: is the text based calculator.
ex: $ bc [enter]
12+5 [enter]
17 [ctrl+d]
echo: is used to print messages.
ex: $ echo Deepanshu [enter]
printf: is an alternative to echo.
ex: $ printf “Deepanshu” [enter]
mailx: is the universal mailer to send or receive mails.
Ex. $mailx Deepanshu [enter]
subject: Attention
call me now [ctrl-d]
Will send the mail to Deepanshu.
passwd: for changing password.
ex: $ passwd [enter]
(Current) UNIX password: ***** (12345)
New password: ***** (56789)
Re-enter: ***** (56789)
passwd(SYSTEM): password successfully changed.
man: is the help facility.
ex: $ man bc [enter]
Will give a page having complete documentation about
bc command including options, descriptions, usage etc.
UNIX File System
The UNIX file system contains following directories
within the different system files resides.
/bin: contains all commonly UNIX commands.
/etc: contains configuration files of system.
/dev: contains all device files.
/lib: contains all library files in binary form.
/home: different users are housed here.
/tmp: contains all temporary files.
/var: is the variable part of the system. Contains all your print job,
incoming & outgoing mails.
/stand: holds the commands usable only by System Administrator.
Administrator is the person who grants you the authority to
use the system. It is the super user that has vast powers
having access to everything.
The job of System Administration includes:
Maintaining Security by: passwd & set user id(SUID)
User Management by: groupadd, useradd & Userdel
Startup & Shutdown
Managing Disk Space by: df & du
Backup & Restore by: cpio & cpio-i
System Administration
Linux is a full UNIX clone created by Linus Torvalds when
he was a student at the university of Helsinki in 1991.It is
the free operating system based on UNIX. It is written in C
language.
Primary Advantages of Linux:
1. Its initial price is free.
2. Help is always available on internet.
3. It is portable to any Hardware platform.
4. It is scalable and secure.
Popular Linux Distribution :
Red Hat Enterprise Edition, Fedora Core, Debian, SuSE Linux
Linux’s Root in UNIX
Unix - An Introduction
The best thing about UNIX are:
 UNIX has greater built-in security and permissions
features than Windows.
 Mostly free or inexpensive open-source operating
systems, such as Linux and BSD.
 Multitasking & Multi-user Features.
 The Community & online support.
 Unix is more flexible and portable and can be
installed on many different types of machines.
Why UNIX?
Unix - An Introduction
 Today UNIX has joined the desktop market.
 On the server side, provides database and
trading services for companies.
 In creation of movies such as "Titanic",
"Shrek" and others.
 In real time environments such as flight
management, weapon control etc.
Applications of UNIX
LIKE THIS DECK?
Get In Touch!
Check Out Some of Other Slideshares..
Follow Me For More Great Content
References
Introduction To UNIX Operating System
Roundup – Top 50 UNIX Commands Every User Must Know
What is Unix Shell and What Does It Do?
1 of 36

Recommended

Unix by
UnixUnix
UnixErm78
6.5K views85 slides
Operating systems unix by
Operating systems   unixOperating systems   unix
Operating systems unixAchu dhan
1.7K views17 slides
Unix ppt by
Unix pptUnix ppt
Unix pptDr Rajiv Srivastava
5.6K views8 slides
Unix ppt by
Unix pptUnix ppt
Unix pptsudhir saurav
22.2K views24 slides
An Introduction To Linux by
An Introduction To LinuxAn Introduction To Linux
An Introduction To LinuxIshan A B Ambanwela
4.5K views37 slides

More Related Content

What's hot

UNIX Operating System by
UNIX Operating SystemUNIX Operating System
UNIX Operating SystemUnless Yuriko
10.3K views15 slides
Linux - Introductions to Linux Operating System by
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemVibrant Technologies & Computers
1.5K views21 slides
Linux file system by
Linux file systemLinux file system
Linux file systemMd. Tanvir Hossain
9.5K views23 slides
Operating system by
Operating systemOperating system
Operating systemTanvirul Islam
3K views25 slides
Linux file system by
Linux file systemLinux file system
Linux file systemMidaga Mengistu
567 views22 slides
Introduction 2 linux by
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linuxPapu Kumar
1.6K views48 slides

What's hot(20)

UNIX Operating System by Unless Yuriko
UNIX Operating SystemUNIX Operating System
UNIX Operating System
Unless Yuriko10.3K views
Introduction 2 linux by Papu Kumar
Introduction 2 linuxIntroduction 2 linux
Introduction 2 linux
Papu Kumar1.6K views
Unix Operating System by subhsikha
Unix Operating SystemUnix Operating System
Unix Operating System
subhsikha15.9K views
Linux ppt by lincy21
Linux pptLinux ppt
Linux ppt
lincy2141.2K views
Unix OS & Commands by Mohit Belwal
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
Mohit Belwal3.9K views
Linux Presentation by nishantsri
Linux PresentationLinux Presentation
Linux Presentation
nishantsri1.4K views
Linux operating system - Overview by Ashita Agrawal
Linux operating system - OverviewLinux operating system - Overview
Linux operating system - Overview
Ashita Agrawal16K views
Introduction to linux ppt by Omi Vichare
Introduction to linux pptIntroduction to linux ppt
Introduction to linux ppt
Omi Vichare70.8K views
what is LINUX ? presentation. by saad_khan1122
what is LINUX ? presentation.what is LINUX ? presentation.
what is LINUX ? presentation.
saad_khan11221.2K views
History Of Linux by anand09
History Of LinuxHistory Of Linux
History Of Linux
anand0915.7K views

Similar to Unix - An Introduction

Unix environment by
Unix environmentUnix environment
Unix environmentEr Mittinpreet Singh
584 views41 slides
Unix environment [autosaved] by
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]Er Mittinpreet Singh
279 views68 slides
Unix environment [autosaved] by
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]Er Mittinpreet Singh
385 views72 slides
Programming and problem solving 3 by
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3sushruth kamarushi
523 views26 slides
Linux Notes-1.pdf by
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdfasif64436
8 views21 slides
84640411 study-of-unix-os by
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-oshomeworkping3
682 views30 slides

Similar to Unix - An Introduction(20)

Linux Notes-1.pdf by asif64436
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
asif644368 views
84640411 study-of-unix-os by homeworkping3
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
homeworkping3682 views
Online Training in Unix Linux Shell Scripting in Hyderabad by Ravikumar Nandigam
Online Training in Unix Linux Shell Scripting in HyderabadOnline Training in Unix Linux Shell Scripting in Hyderabad
Online Training in Unix Linux Shell Scripting in Hyderabad
Ravikumar Nandigam425 views
CHAPTER 1 INTRODUCTION TO UNIX.pptx by MahiDivya
CHAPTER 1 INTRODUCTION TO UNIX.pptxCHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptx
MahiDivya10 views
Terminal basic-commands(Unix) -partI by Kedar Bhandari
Terminal basic-commands(Unix) -partITerminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partI
Kedar Bhandari624 views
Linux: An Unbeaten Empire by Yogesh Sharma
Linux: An Unbeaten EmpireLinux: An Unbeaten Empire
Linux: An Unbeaten Empire
Yogesh Sharma567 views
Intro tounix by djprince
Intro tounixIntro tounix
Intro tounix
djprince507 views
Chapter 2 Introduction to Unix Concepts by MeenalJabde
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
MeenalJabde87 views
Linux Information by Rahul Pola
Linux InformationLinux Information
Linux Information
Rahul Pola595 views
A beginners introduction to unix by zafarali1981
A beginners introduction to unixA beginners introduction to unix
A beginners introduction to unix
zafarali1981406 views

More from Deepanshu Gahlaut

10 Accounting Conferences You Can’t-Miss In 2018 by
10 Accounting Conferences You Can’t-Miss In 201810 Accounting Conferences You Can’t-Miss In 2018
10 Accounting Conferences You Can’t-Miss In 2018Deepanshu Gahlaut
781 views17 slides
Bitcoin: What Accountants Need To Know by
Bitcoin: What Accountants Need To KnowBitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To KnowDeepanshu Gahlaut
4.9K views12 slides
5 Tips How To Stay Secure During Tax Season 2018 by
5 Tips How To Stay Secure During Tax Season 20185 Tips How To Stay Secure During Tax Season 2018
5 Tips How To Stay Secure During Tax Season 2018Deepanshu Gahlaut
695 views20 slides
5 Ways How Cloud Accounting Benefits Early-Stage Startups by
5 Ways How Cloud Accounting  Benefits Early-Stage Startups5 Ways How Cloud Accounting  Benefits Early-Stage Startups
5 Ways How Cloud Accounting Benefits Early-Stage StartupsDeepanshu Gahlaut
958 views13 slides
6 Must Have Technologies For Every Accounting Professional by
6 Must Have Technologies For Every Accounting Professional6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting ProfessionalDeepanshu Gahlaut
1.7K views13 slides
Marketing 101: What Every Accounting Firm Should Know? by
Marketing 101: What Every Accounting Firm Should Know?Marketing 101: What Every Accounting Firm Should Know?
Marketing 101: What Every Accounting Firm Should Know?Deepanshu Gahlaut
6K views19 slides

More from Deepanshu Gahlaut(9)

10 Accounting Conferences You Can’t-Miss In 2018 by Deepanshu Gahlaut
10 Accounting Conferences You Can’t-Miss In 201810 Accounting Conferences You Can’t-Miss In 2018
10 Accounting Conferences You Can’t-Miss In 2018
Deepanshu Gahlaut781 views
Bitcoin: What Accountants Need To Know by Deepanshu Gahlaut
Bitcoin: What Accountants Need To KnowBitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To Know
Deepanshu Gahlaut4.9K views
5 Tips How To Stay Secure During Tax Season 2018 by Deepanshu Gahlaut
5 Tips How To Stay Secure During Tax Season 20185 Tips How To Stay Secure During Tax Season 2018
5 Tips How To Stay Secure During Tax Season 2018
Deepanshu Gahlaut695 views
5 Ways How Cloud Accounting Benefits Early-Stage Startups by Deepanshu Gahlaut
5 Ways How Cloud Accounting  Benefits Early-Stage Startups5 Ways How Cloud Accounting  Benefits Early-Stage Startups
5 Ways How Cloud Accounting Benefits Early-Stage Startups
Deepanshu Gahlaut958 views
6 Must Have Technologies For Every Accounting Professional by Deepanshu Gahlaut
6 Must Have Technologies For Every Accounting Professional6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting Professional
Deepanshu Gahlaut1.7K views
Marketing 101: What Every Accounting Firm Should Know? by Deepanshu Gahlaut
Marketing 101: What Every Accounting Firm Should Know?Marketing 101: What Every Accounting Firm Should Know?
Marketing 101: What Every Accounting Firm Should Know?
Top 10 SMB Technology Trends For 2014 by Deepanshu Gahlaut
Top 10 SMB Technology Trends For 2014Top 10 SMB Technology Trends For 2014
Top 10 SMB Technology Trends For 2014
Deepanshu Gahlaut5.3K views

Recently uploaded

How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... by
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...Vadym Kazulkin
70 views64 slides
"Fast Start to Building on AWS", Igor Ivaniuk by
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor IvaniukFwdays
36 views76 slides
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ... by
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ..."Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...Fwdays
33 views39 slides
TE Connectivity: Card Edge Interconnects by
TE Connectivity: Card Edge InterconnectsTE Connectivity: Card Edge Interconnects
TE Connectivity: Card Edge InterconnectsCXL Forum
96 views12 slides
[2023] Putting the R! in R&D.pdf by
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdfEleanor McHugh
38 views127 slides
Transcript: The Details of Description Techniques tips and tangents on altern... by
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...BookNet Canada
119 views15 slides

Recently uploaded(20)

How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... by Vadym Kazulkin
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
Vadym Kazulkin70 views
"Fast Start to Building on AWS", Igor Ivaniuk by Fwdays
"Fast Start to Building on AWS", Igor Ivaniuk"Fast Start to Building on AWS", Igor Ivaniuk
"Fast Start to Building on AWS", Igor Ivaniuk
Fwdays36 views
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ... by Fwdays
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ..."Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
Fwdays33 views
TE Connectivity: Card Edge Interconnects by CXL Forum
TE Connectivity: Card Edge InterconnectsTE Connectivity: Card Edge Interconnects
TE Connectivity: Card Edge Interconnects
CXL Forum96 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views
Transcript: The Details of Description Techniques tips and tangents on altern... by BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada119 views
"How we switched to Kanban and how it integrates with product planning", Vady... by Fwdays
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...
Fwdays61 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh by NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS39 views
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad... by Fwdays
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad..."Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
Fwdays40 views
Future of Learning - Yap Aye Wee.pdf by NUS-ISS
Future of Learning - Yap Aye Wee.pdfFuture of Learning - Yap Aye Wee.pdf
Future of Learning - Yap Aye Wee.pdf
NUS-ISS38 views
Samsung: CMM-H Tiered Memory Solution with Built-in DRAM by CXL Forum
Samsung: CMM-H Tiered Memory Solution with Built-in DRAMSamsung: CMM-H Tiered Memory Solution with Built-in DRAM
Samsung: CMM-H Tiered Memory Solution with Built-in DRAM
CXL Forum105 views
Astera Labs: Intelligent Connectivity for Cloud and AI Infrastructure by CXL Forum
Astera Labs:  Intelligent Connectivity for Cloud and AI InfrastructureAstera Labs:  Intelligent Connectivity for Cloud and AI Infrastructure
Astera Labs: Intelligent Connectivity for Cloud and AI Infrastructure
CXL Forum125 views
GigaIO: The March of Composability Onward to Memory with CXL by CXL Forum
GigaIO: The March of Composability Onward to Memory with CXLGigaIO: The March of Composability Onward to Memory with CXL
GigaIO: The March of Composability Onward to Memory with CXL
CXL Forum126 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10165 views
CXL at OCP by CXL Forum
CXL at OCPCXL at OCP
CXL at OCP
CXL Forum208 views
AI: mind, matter, meaning, metaphors, being, becoming, life values by Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
Future of Learning - Khoong Chan Meng by NUS-ISS
Future of Learning - Khoong Chan MengFuture of Learning - Khoong Chan Meng
Future of Learning - Khoong Chan Meng
NUS-ISS31 views
Five Things You SHOULD Know About Postman by Postman
Five Things You SHOULD Know About PostmanFive Things You SHOULD Know About Postman
Five Things You SHOULD Know About Postman
Postman25 views

Unix - An Introduction

  • 1. UNIX Operating System An Introduction http://www.deepanshugahlaut.com/blog/introduction-to-unix-operating-system/ By: Deepanshu Gahlaut Web and Social Media Enthusiastic www.deepanshugahlaut.com
  • 3. Let’s Start With Basics ...
  • 4. What is Operating System? The Operating System is the System S/W which acts as an interface between user and computer’s H/W. It acts as the brain of computer system which controls all other component of computer system.
  • 8. Unix is a multiuser, multitasking OS from AT & T that runs on a wide variety of computer system from micro to super computers. UNIX was developed in 1969 by Ken Thompson & Dennis Ritchie. Unix was written in C language. What is UNIX?
  • 9. We use the term "Unix" in a collective sense to refer to Unix, Unix-derived, and Unix-like systems.
  • 10. Image credit - tdrnetworks
  • 11. UNIX Categories There are three kinds of Unix System - Genetic UNIX Trademark or Branded UNIX Functional UNIX
  • 12. Those systems with a historical connection to the AT&T codebase. For example - BSD systems. #1. Genetic UNIX
  • 13. Systems such as Linux or Minix that behave similarly to a UNIX system but have no genetic or trademark connection to the AT&T code base. #2. Functional UNIX
  • 14. These systems—largely commercial in nature—have been determined by the Open Group and are allowed to carry the UNIX name. For ex- System V , Apple Mac OS X 10.5 #3. Trademark or Branded UNIX
  • 15. There are more than fifty flavors of UNIX in use today. Brands and versions of UNIX that are in common use are: AIX from IBM Solaris from SUN Microsystems HP-UX and Tru64 from Hewlett Packard UnixWare from Caldera Linux and FreeBSD, which are open source UNIX Historical Implementation
  • 17. UNIX Features Portability Multi-user Capability Multitasking Capability Security Built-in Networking Programming Facility The UNIX Toolkit
  • 19. The architecture of UNIX can be divided into three levels of functionality- The lowest level is the kernel is the core of OS & communicates directly to H/w.  The next level is the shell, which acts as the interface b/w user & kernel. Kernel is represented by file /stand/unix or /unix The highest level is utilities, or application programs which provides utility functions. The shell is represented by sh(Bourne Shell), csh(C shell), ksh(Korn Shell), bash(Bash shell). To know running shell use echo $shell
  • 20. UNIX has a large family of powerful commands. Some major commands are: date, mkdir, cd, pwd, rmdir, ls, cp, mv, rm, cat, cal, who, tput clear, man, passwd, path, ps, chmod, chown, more etc. UNIX Commands
  • 21. date: displays the date and time. ex: $ date [enter] wed march 31 16: 22:40 IST 2005 cal: displays the calendar of any specific month or year. ex: $ cal 2004 [enter] who: displays the list of users that are currently logged into system. ex: $ who [enter] Deepanshu console may 9 09:31 John pts/4 may 9 09:31 cat: creates a file. ex: $ cat>filename [enter]
  • 22. ls: displays the list of files and directories. ex: $ date [enter] wed march 31 16: 22:40 IST 2005 mkdir: creates directories. ex: $ mkdir abc [enter] rmdir: removes directories. ex: $ rmdir abc [enter] mv: perform two functions. 1. Renames a file or directory. 2. Moves a group of files to different directory. ex: $ mv c1 b1 [enter] renames c1 to b1 $ mv c1 c2 abc[enter] moves c1, c2 to directory abc
  • 23. cp: for copying one or more files. ex: $ cp sourcefilename destinationfilename [enter] rm: deletes one or more files. ex: $ rm c1 c2 c3 [enter] cat: display contents of file on screen. ex: $ cat filename [enter] tput clear: clears the screen. ex: $ tput clear [enter] pwd: display path of your present working directory. ex: $ pwd [enter] /home/sharma cd: change the current working directory to another. ex: $ cd ram [enter] $pwd /home/sharma/ram
  • 24. Unix provides various general purpose utilities having diverse functionality . Some of them are: cal, date, echo, bc, printf, passwd, man, whatis, mailx etc. General Purpose Utilities
  • 25. bc: is the text based calculator. ex: $ bc [enter] 12+5 [enter] 17 [ctrl+d] echo: is used to print messages. ex: $ echo Deepanshu [enter] printf: is an alternative to echo. ex: $ printf “Deepanshu” [enter] mailx: is the universal mailer to send or receive mails. Ex. $mailx Deepanshu [enter] subject: Attention call me now [ctrl-d] Will send the mail to Deepanshu.
  • 26. passwd: for changing password. ex: $ passwd [enter] (Current) UNIX password: ***** (12345) New password: ***** (56789) Re-enter: ***** (56789) passwd(SYSTEM): password successfully changed. man: is the help facility. ex: $ man bc [enter] Will give a page having complete documentation about bc command including options, descriptions, usage etc.
  • 28. The UNIX file system contains following directories within the different system files resides. /bin: contains all commonly UNIX commands. /etc: contains configuration files of system. /dev: contains all device files. /lib: contains all library files in binary form. /home: different users are housed here. /tmp: contains all temporary files. /var: is the variable part of the system. Contains all your print job, incoming & outgoing mails. /stand: holds the commands usable only by System Administrator.
  • 29. Administrator is the person who grants you the authority to use the system. It is the super user that has vast powers having access to everything. The job of System Administration includes: Maintaining Security by: passwd & set user id(SUID) User Management by: groupadd, useradd & Userdel Startup & Shutdown Managing Disk Space by: df & du Backup & Restore by: cpio & cpio-i System Administration
  • 30. Linux is a full UNIX clone created by Linus Torvalds when he was a student at the university of Helsinki in 1991.It is the free operating system based on UNIX. It is written in C language. Primary Advantages of Linux: 1. Its initial price is free. 2. Help is always available on internet. 3. It is portable to any Hardware platform. 4. It is scalable and secure. Popular Linux Distribution : Red Hat Enterprise Edition, Fedora Core, Debian, SuSE Linux Linux’s Root in UNIX
  • 32. The best thing about UNIX are:  UNIX has greater built-in security and permissions features than Windows.  Mostly free or inexpensive open-source operating systems, such as Linux and BSD.  Multitasking & Multi-user Features.  The Community & online support.  Unix is more flexible and portable and can be installed on many different types of machines. Why UNIX?
  • 34.  Today UNIX has joined the desktop market.  On the server side, provides database and trading services for companies.  In creation of movies such as "Titanic", "Shrek" and others.  In real time environments such as flight management, weapon control etc. Applications of UNIX
  • 35. LIKE THIS DECK? Get In Touch! Check Out Some of Other Slideshares.. Follow Me For More Great Content
  • 36. References Introduction To UNIX Operating System Roundup – Top 50 UNIX Commands Every User Must Know What is Unix Shell and What Does It Do?