SlideShare una empresa de Scribd logo
1 de 36
Descargar para leer sin conexión
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
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.
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 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
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?
 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?

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Shell and its types in LINUX
Shell and its types in LINUXShell and its types in LINUX
Shell and its types in LINUX
 
Linux commands and file structure
Linux commands and file structureLinux commands and file structure
Linux commands and file structure
 
Linux basics
Linux basicsLinux basics
Linux basics
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Operating systems unix
Operating systems   unixOperating systems   unix
Operating systems unix
 
Basic Unix
Basic UnixBasic Unix
Basic Unix
 
Linux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating SystemLinux - Introductions to Linux Operating System
Linux - Introductions to Linux Operating System
 
Shell programming
Shell programmingShell programming
Shell programming
 
Linux Directory Structure
Linux Directory StructureLinux Directory Structure
Linux Directory Structure
 
Architecture of Linux
 Architecture of Linux Architecture of Linux
Architecture of Linux
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
Know the UNIX Commands
Know the UNIX CommandsKnow the UNIX Commands
Know the UNIX Commands
 
Unix Operating System
Unix Operating SystemUnix Operating System
Unix Operating System
 
Linux presentation
Linux presentationLinux presentation
Linux presentation
 
Lesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File SystemLesson 2 Understanding Linux File System
Lesson 2 Understanding Linux File System
 
Complete Guide for Linux shell programming
Complete Guide for Linux shell programmingComplete Guide for Linux shell programming
Complete Guide for Linux shell programming
 
Unix ppt
Unix pptUnix ppt
Unix ppt
 

Similar a Unix - An Introduction

Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3sushruth kamarushi
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdfasif64436
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-oshomeworkping3
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linuxABHISHEK KUMAR
 
Online Training in Unix Linux Shell Scripting in Hyderabad
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 HyderabadRavikumar Nandigam
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiUnix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiPriyadarshini648418
 
CHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptxCHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptxMahiDivya
 
Terminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partITerminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partIKedar Bhandari
 
Linux: An Unbeaten Empire
Linux: An Unbeaten EmpireLinux: An Unbeaten Empire
Linux: An Unbeaten EmpireYogesh Sharma
 
Intro tounix
Intro tounixIntro tounix
Intro tounixdjprince
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsMeenalJabde
 
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionIntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionNagavelliMadhavi
 

Similar a Unix - An Introduction (20)

Unix environment
Unix environmentUnix environment
Unix environment
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Unix environment [autosaved]
Unix environment [autosaved]Unix environment [autosaved]
Unix environment [autosaved]
 
Programming and problem solving 3
Programming and problem solving 3Programming and problem solving 3
Programming and problem solving 3
 
Linux Notes-1.pdf
Linux Notes-1.pdfLinux Notes-1.pdf
Linux Notes-1.pdf
 
84640411 study-of-unix-os
84640411 study-of-unix-os84640411 study-of-unix-os
84640411 study-of-unix-os
 
Introduction about linux
Introduction about linuxIntroduction about linux
Introduction about linux
 
Online Training in Unix Linux Shell Scripting in Hyderabad
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
 
Unix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basiUnix_Introduction_BCA.pptx the very basi
Unix_Introduction_BCA.pptx the very basi
 
lec1.docx
lec1.docxlec1.docx
lec1.docx
 
CHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptxCHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptx
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Intro to linux
Intro to linuxIntro to linux
Intro to linux
 
Terminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partITerminal basic-commands(Unix) -partI
Terminal basic-commands(Unix) -partI
 
Linux: An Unbeaten Empire
Linux: An Unbeaten EmpireLinux: An Unbeaten Empire
Linux: An Unbeaten Empire
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Chapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix ConceptsChapter 2 Introduction to Unix Concepts
Chapter 2 Introduction to Unix Concepts
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
IntroToUnix.ppt
IntroToUnix.pptIntroToUnix.ppt
IntroToUnix.ppt
 
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionIntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
 

Más de Deepanshu Gahlaut

10 Accounting Conferences You Can’t-Miss In 2018
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
 
Bitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To KnowBitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To KnowDeepanshu Gahlaut
 
5 Tips How To Stay Secure During Tax Season 2018
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
 
5 Ways How Cloud Accounting Benefits Early-Stage Startups
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
 
6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting Professional6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting ProfessionalDeepanshu 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?
Marketing 101: What Every Accounting Firm Should Know?Deepanshu Gahlaut
 
Top 10 SMB Technology Trends For 2014
Top 10 SMB Technology Trends For 2014Top 10 SMB Technology Trends For 2014
Top 10 SMB Technology Trends For 2014Deepanshu Gahlaut
 

Más de Deepanshu Gahlaut (9)

10 Accounting Conferences You Can’t-Miss In 2018
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
 
Bitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To KnowBitcoin: What Accountants Need To Know
Bitcoin: What Accountants Need To Know
 
5 Tips How To Stay Secure During Tax Season 2018
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
 
5 Ways How Cloud Accounting Benefits Early-Stage Startups
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
 
6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting Professional6 Must Have Technologies For Every Accounting Professional
6 Must Have Technologies For Every Accounting Professional
 
Marketing 101: What Every Accounting Firm Should Know?
Marketing 101: What Every Accounting Firm Should Know?Marketing 101: What Every Accounting Firm Should Know?
Marketing 101: What Every Accounting Firm Should Know?
 
Cloud Accounting
Cloud AccountingCloud Accounting
Cloud Accounting
 
Green Computing
Green ComputingGreen Computing
Green Computing
 
Top 10 SMB Technology Trends For 2014
Top 10 SMB Technology Trends For 2014Top 10 SMB Technology Trends For 2014
Top 10 SMB Technology Trends For 2014
 

Último

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesBoston Institute of Analytics
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 

Último (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

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
  • 2.
  • 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.
  • 5.
  • 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
  • 16.
  • 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
  • 31.
  • 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?
  • 33.
  • 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?