SlideShare a Scribd company logo
Day 1.
Unix Introduction.
Name of
Ananthi Murugesan
presentation
• Company name
Road Map

Unix Biography

Unix System Organization

Evolution of Unix

Kernel/Shell

What is Unix?
Why do I need to know Unix?

File Management

Login in Unix

Architecture of Unix

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix Biography

 1964 joint project between AT&T Bell Labs, GE, and MIT to
develop a new OS
 Goal : develop an OS that could provide computational
power, data storage and the ability to share data among
multiple users
 Result: Multiplexed Information & Computer Service MULTICS.
Unix Biography

 1969 Bell Labs withdraws from group, Two Bell Lab
scientists, Ken Thompson and Dennis Ritchie, continue
research.
 At the same time Ken Thompson wrote a game “space
travel” in Fortran to run on GECOS OS
 Thompson ported the game to a little used PDP-7 computer
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix Biography-PDP-7

 In 1969, Ken Thompson wrote the first UNIX system in
assembly language on a PDP-7, then named Unics as a pun
on Multics

 It’s as the operating system for Space Travel, a game
which required graphics to depict the motion of the
planets
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix History
Here’s Unix history
1969

1976

1978

1991

Creation by Ken
Thompson and
Denis Ritchie from
Bell Labs

Creation of
Apple

www.ananthim.wordpress.com

Creation of Linux
by Linus Torvalds
Split between
BSD and type V
Unix

Author :- Ananthi Murugesan
What is Unix
The low-level software which handles the interface to system
hardware (input/output devices, memory, file system, etc),
schedules tasks, and provides common core services such as a
basic user interface.
It’s portable, multi-tasking and multi-user operating system
Portable: runs on many different hardware architectures
(Intel x86, Motorola 680x0etc.).
Pre-emptive multi-tasking: several programs can run at the
same time (time slices, interrupts, and task switching.
Multi-user: many users can share the computer system at
the same time
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
What is Unix – Other Features

Uses a simple, uniform file model which includes devices
and access to other services in a flexible, hierarchical file
system.
 Written in a high-level language (“C”) making it easy to
read, understand, change and port.
The command prompt is a simple user process, the Unix
shell, which is also a convenient job programming language.
Includes support for regular expressions which are
convenient for complex searching.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
What is Unix –Philosophy
Philosophy of Unix system

• Everything is a file
– Hard Drive, CDROM drive, CPU …
• Task segmentation
• A program must be portable
• Write code quickly and to share with the
community
• Correct bugs quickly

www.ananthim.wordpress.com
Unix Features

Multi- user

Hierarchical file system
Multi tasking
Threads
Virtual memory
Built –in networking

Extensive set of utilities

www.ananthim.wordpress.com
Unix Merits /Demerits

True multi-tasking

Not that User friendly

Flexible/Portable

Sleep learning curve

“Nice”
Programming Events

Not 100% compatible
with the Microsoft world.

www.ananthim.wordpress.com
Top ten points
why I need to use
Unix ??

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#1 – Flexibility
Unix is more flexible and can be
installed on many different types
of machines, including mainframe
computers, supercomputers and
micro-computers.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#2 – Scalability
• Unix is more stable and
does not go down as often as
Windows does, therefore requires
less administration and
maintenance.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#3 – Security

• Unix has greater built-in security
and permissions features than
Windows.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#4 – Compatibility
Web sites designed and
programmed
to be served under a UNIX-based

web server can easily be hosted on
a Windows server,
whereas the reverse is not always
true.
This makes programming for
UNIX the better choice
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#5 – Stability

Servers running on UNIX enjoy
extremely high up-time and high
availability/reliability

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#6 – Performance

UNIX servers under high load
(which is what is important)
are superior to Windows

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#7 – Command line

• The command line will always
be an invaluable tool for
administration purposes.
Nothing will ever replace
favorite text-based editor

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#8 – Software Updates

• Software upgrades from Microsoft
often require the user to purchase
new or more hardware or
prerequisite software.
That is not the case with Unix.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#9 – Price
• The mostly free or inexpensive
open-source operating systems,
such as Linux and BSD.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
#10 – Data security
• Users are required to log in
before they can do anything.
Logging in restricts unauthorised
use, allows all files created by a
user to be identified as
belonging to them and, if
necessary, only visible to that
user

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - Quiz

The BSD system is a different Unix system
MacOSX is not based on the Unix system
UNIX system is a multi-task system
UNIX system is a multi-user system

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix system Organization
Kernel
Hardware

Hardware

Shell
www.ananthim.wordpress.com

Tools and
Application
Author :- Ananthi Murugesan
Unix
Unix System follows a layered Approach
It has four layers
The innermost layer is the hardware layer
In the second layer, the kernel is placed.
The utilities and the other application programs
form the third layer
Fourth layer is the one with which the user
actually interacts.
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix – Kernel

Kernel is that part of the OS which directly makes
interface with the hardware system.
Factions:
Provides mechanism for creating and deleting
processes
Provides processor scheduling, memory and IO
management

Does interprocess communication.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix – Shell
Shell
Whenever you login to a Unix system you are placed in
a shell program.
The shell's prompt is usually visible at the cursor's
position on your screen. To get your work done, you
enter commands at this prompt.
The shell is a command interpreter;.
It takes each command and passes it to the operating
system kernel to be acted upon.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Types of Shell
Bourne shell (sh)

Shell

C shell (csh)
Korn shell (ksh)

Kron Shell
Bournce Shell
C shell

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - Shell
A Utility program that comes with the unix system.
Features of Shell are:

Interactive Processing
Background Processing
I/O Redirection
Pipes
Shell Scripts

Shell Variables
Programming Constructs
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix
Bourne Shell(sh) – This is the original shell of UNIX which
comes with every UNIX sytem and may be that is the
reason that it is so popular.It was written by Stephen
Bourne at Bell Labs in 1974
• C shell(csh) – It has a syntax that resembles that of the
highly popular C programming language (also developed at
Bell Labs), and thus it is sometimes preferred by
programmers.
Korn shell(ksh) – It is a superset of sh developed by David
Korn at Bell Labs in 1983. It contains many features of the
C shell as well, including a command historys
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
MS Windows Vs UNIX
C:

/

N:
sue
ollie

cdrom

floppy

users

local

dan

ollie

sue

dan
mail
exec
A:
D:
N:danexec
www.ananthim.wordpress.com

mail

exec

/users/dan/exec
Author :- Ananthi Murugesan
Unix

[1] Absolute location:
/users/dan/mail/my.doc

[2] Relative to the directory
“sue”
../dan/mail/my.doc

/

cdrom

floppy

users

local

dan

ollie

sue

[3] For Dan, relative to his
homespace:
~/mail/my.doc

[4] For everyone else, relative
to Dan’s homespace:

mail

exec

my.doc
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - File Management

Unix uses a hierarchical file system with “/” as its root.
Every non-leaf node of the tree is called as a directory
file.

Every leaf node can either be a file or an empty directory

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix – CPU Scheduling

Unix uses “Round-Robin” scheduling to support its multiuser and time-sharing feature.
Round-Robin fashion of scheduling is considered to be
oldest,simplest and widely used algorithm.
Here, every process is given a time slice(10-100 millisec.)

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
What can UNIX do for you ?
Departmental E-mail
 World Wide Web
 Scientific Programming
1.FORTRAN
2.C/C++
3.Matlab
4.Maple
Text Processing

Plotting packages
1.Gnuplot
2.tecplot
www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix
Super User

Group 2

Group 1

Owner

Group
member

Group
member

www.ananthim.wordpress.com

others

others

others

Author :- Ananthi Murugesan
Unix -Log in

 You will need to have a valid username and a password
 Type your username at the login prompt
UNIX is case sensitive
When the password prompt appears, type in your
password.
Your password is never displayed on the screen as
a security measure

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - Login screen

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - How to change the passwords

passwd command
Old password: - enter your current password
New password: - enter your new password
Retype new password: - re-enter your new password

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix -Logging Off The System

– To logout enter the command logout or exit.
– If this does not work, press Ctrl-d.
– If you have a .logout file in your home directory, the system
will execute any commands contained there.

www.ananthim.wordpress.com

Author :- Ananthi Murugesan
Unix - Stop and Think

Do you have any questions ?

Catch me @ www.ananthim.wordpress.com

More Related Content

What's hot

Linux red hat overview and installation
Linux red hat overview and installationLinux red hat overview and installation
Linux red hat overview and installation
devenderbhati
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
Mohit Belwal
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
University of Technology
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
Omkar Walavalkar
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
Libsoul Technologies Pvt. Ltd.
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
Fatima Qayyum
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
Ishan A B Ambanwela
 
Linux System Monitoring basic commands
Linux System Monitoring basic commandsLinux System Monitoring basic commands
Linux System Monitoring basic commands
Mohammad Rafiee
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
Nishant Munjal
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
Henry Osborne
 
Linux
LinuxLinux
Linux kernel
Linux kernelLinux kernel
Linux process management
Linux process managementLinux process management
Linux process management
Raghu nath
 
Linux
Linux Linux
Unix Introduction
Unix IntroductionUnix Introduction
Unix Introduction
ananthimurugesan
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
MAGNA COLLEGE OF ENGINEERING
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
Mazenetsolution
 
File permissions
File permissionsFile permissions
File permissions
Varnnit Jain
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
Md. Zahid Hossain Shoeb
 
Linux
LinuxLinux
Linux
dwarfyray
 

What's hot (20)

Linux red hat overview and installation
Linux red hat overview and installationLinux red hat overview and installation
Linux red hat overview and installation
 
Unix OS & Commands
Unix OS & CommandsUnix OS & Commands
Unix OS & Commands
 
Ubuntu – Linux Useful Commands
Ubuntu – Linux Useful CommandsUbuntu – Linux Useful Commands
Ubuntu – Linux Useful Commands
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
 
Linux Introduction
Linux IntroductionLinux Introduction
Linux Introduction
 
UNIX Operating System
UNIX Operating SystemUNIX Operating System
UNIX Operating System
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux System Monitoring basic commands
Linux System Monitoring basic commandsLinux System Monitoring basic commands
Linux System Monitoring basic commands
 
Introduction to Unix
Introduction to UnixIntroduction to Unix
Introduction to Unix
 
Disk and File System Management in Linux
Disk and File System Management in LinuxDisk and File System Management in Linux
Disk and File System Management in Linux
 
Linux
LinuxLinux
Linux
 
Linux kernel
Linux kernelLinux kernel
Linux kernel
 
Linux process management
Linux process managementLinux process management
Linux process management
 
Linux
Linux Linux
Linux
 
Unix Introduction
Unix IntroductionUnix Introduction
Unix Introduction
 
Basic 50 linus command
Basic 50 linus commandBasic 50 linus command
Basic 50 linus command
 
Process management in linux
Process management in linuxProcess management in linux
Process management in linux
 
File permissions
File permissionsFile permissions
File permissions
 
Linux introduction
Linux introductionLinux introduction
Linux introduction
 
Linux
LinuxLinux
Linux
 

Viewers also liked

UNIX introduction
UNIX introductionUNIX introduction
UNIX introduction
MUFIX Community
 
C LANGUAGE - BESTECH SOLUTIONS
C LANGUAGE - BESTECH SOLUTIONSC LANGUAGE - BESTECH SOLUTIONS
C LANGUAGE - BESTECH SOLUTIONS
BESTECH SOLUTIONS
 
Linking in MS-Dos System
Linking in MS-Dos SystemLinking in MS-Dos System
Linking in MS-Dos System
Satyamevjayte Haxor
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
Rutvik Pensionwar
 
Cis222 2
Cis222 2Cis222 2
Cis222 2
Russ Ferriday
 
Lab1
Lab1Lab1
Structure of c_program_to_input_output
Structure of c_program_to_input_outputStructure of c_program_to_input_output
Structure of c_program_to_input_output
Anil Dutt
 
Operating Systems 3
Operating Systems 3Operating Systems 3
Operating Systems 3
hutchison
 
22 levine
22 levine22 levine
22 levine
ashish61_scs
 
Structure of a C program
Structure of a C programStructure of a C program
Structure of a C program
David Livingston J
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
djprince
 
Operating Systems 1
Operating Systems 1Operating Systems 1
Operating Systems 1
hutchison
 
C material
C materialC material
C material
tarique472
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
shalini392
 
Unix system programming
Unix system programmingUnix system programming
Unix system programming
Syed Mustafa
 
Operating system (remuel)
Operating system (remuel)Operating system (remuel)
Operating system (remuel)
Remuel Malinao
 
C ppt
C pptC ppt
C ppt
jasmeen kr
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Linux architecture
Linux architectureLinux architecture
Linux architecture
mcganesh
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
Abhishek Dwivedi
 

Viewers also liked (20)

UNIX introduction
UNIX introductionUNIX introduction
UNIX introduction
 
C LANGUAGE - BESTECH SOLUTIONS
C LANGUAGE - BESTECH SOLUTIONSC LANGUAGE - BESTECH SOLUTIONS
C LANGUAGE - BESTECH SOLUTIONS
 
Linking in MS-Dos System
Linking in MS-Dos SystemLinking in MS-Dos System
Linking in MS-Dos System
 
Introduction to C programming
Introduction to C programmingIntroduction to C programming
Introduction to C programming
 
Cis222 2
Cis222 2Cis222 2
Cis222 2
 
Lab1
Lab1Lab1
Lab1
 
Structure of c_program_to_input_output
Structure of c_program_to_input_outputStructure of c_program_to_input_output
Structure of c_program_to_input_output
 
Operating Systems 3
Operating Systems 3Operating Systems 3
Operating Systems 3
 
22 levine
22 levine22 levine
22 levine
 
Structure of a C program
Structure of a C programStructure of a C program
Structure of a C program
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
Operating Systems 1
Operating Systems 1Operating Systems 1
Operating Systems 1
 
C material
C materialC material
C material
 
Overview of c language
Overview of c languageOverview of c language
Overview of c language
 
Unix system programming
Unix system programmingUnix system programming
Unix system programming
 
Operating system (remuel)
Operating system (remuel)Operating system (remuel)
Operating system (remuel)
 
C ppt
C pptC ppt
C ppt
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
INTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMINGINTRODUCTION TO C PROGRAMMING
INTRODUCTION TO C PROGRAMMING
 

Similar to Unix Introduction

CHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptxCHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptx
MahiDivya
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1
Prachi Sasankar
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
Chandru Jangin
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
RahulGhosh767154
 
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya JyothiIntroduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Sowmya Jyothi
 
UNIX_module1.pptx
UNIX_module1.pptxUNIX_module1.pptx
UNIX_module1.pptx
kushvithchinna900
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptx
virat834293
 
UNIX_Module 1.pdf
UNIX_Module 1.pdfUNIX_Module 1.pdf
UNIX_Module 1.pdf
krishnaraj714229
 
IntroToUnix.ppt
IntroToUnix.pptIntroToUnix.ppt
IntroToUnix.ppt
Pecific University
 
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroductionIntroToUnix.ppt.intro.to.linuxlinuxintroduction
IntroToUnix.ppt.intro.to.linuxlinuxintroduction
NagavelliMadhavi
 
Intro tounix (1)
Intro tounix (1)Intro tounix (1)
Intro tounix (1)
Raj Mirje
 
Unix case-study
Unix case-studyUnix case-study
Unix case-study
NishantMishra126
 
Ch1-Unix.pptx
Ch1-Unix.pptxCh1-Unix.pptx
Ch1-Unix.pptx
VarunBonkinpallewar1
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
Hamza Abdolateef
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in Linux
Dr.YNM
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
Sasidhar Kothuru
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands
Gautam Raja
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
Savitha74
 
Linux
LinuxLinux
Linux
Ken Hurd
 

Similar to Unix Introduction (20)

CHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptxCHAPTER 1 INTRODUCTION TO UNIX.pptx
CHAPTER 1 INTRODUCTION TO UNIX.pptx
 
Unix shell programming intro-part-1
Unix shell programming intro-part-1Unix shell programming intro-part-1
Unix shell programming intro-part-1
 
Introduction to unix
Introduction to unixIntroduction to unix
Introduction to unix
 
Presentation1.pdf
Presentation1.pdfPresentation1.pdf
Presentation1.pdf
 
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya JyothiIntroduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
 
UNIX_module1.pptx
UNIX_module1.pptxUNIX_module1.pptx
UNIX_module1.pptx
 
Introduction to unix (1).pptx
Introduction to unix (1).pptxIntroduction to unix (1).pptx
Introduction to unix (1).pptx
 
UNIX_Module 1.pdf
UNIX_Module 1.pdfUNIX_Module 1.pdf
UNIX_Module 1.pdf
 
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
 
Intro tounix (1)
Intro tounix (1)Intro tounix (1)
Intro tounix (1)
 
Unix case-study
Unix case-studyUnix case-study
Unix case-study
 
Ch1-Unix.pptx
Ch1-Unix.pptxCh1-Unix.pptx
Ch1-Unix.pptx
 
Intro tounix
Intro tounixIntro tounix
Intro tounix
 
UNIT II-Programming in Linux
UNIT II-Programming in LinuxUNIT II-Programming in Linux
UNIT II-Programming in Linux
 
Spsl unit1
Spsl   unit1Spsl   unit1
Spsl unit1
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | BlocksUnix and shell programming | Unix File System | Unix File Permission | Blocks
Unix and shell programming | Unix File System | Unix File Permission | Blocks
 
1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands1_Introduction_To_Unix_and_Basic_Unix_Commands
1_Introduction_To_Unix_and_Basic_Unix_Commands
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
 
Linux
LinuxLinux
Linux
 

Recently uploaded

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
Intelisync
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
Shinana2
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 

Recently uploaded (20)

Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024A Comprehensive Guide to DeFi Development Services in 2024
A Comprehensive Guide to DeFi Development Services in 2024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
dbms calicut university B. sc Cs 4th sem.pdf
dbms  calicut university B. sc Cs 4th sem.pdfdbms  calicut university B. sc Cs 4th sem.pdf
dbms calicut university B. sc Cs 4th sem.pdf
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 

Unix Introduction

  • 1. Day 1. Unix Introduction. Name of Ananthi Murugesan presentation • Company name
  • 2. Road Map Unix Biography Unix System Organization Evolution of Unix Kernel/Shell What is Unix? Why do I need to know Unix? File Management Login in Unix Architecture of Unix www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 3. Unix Biography  1964 joint project between AT&T Bell Labs, GE, and MIT to develop a new OS  Goal : develop an OS that could provide computational power, data storage and the ability to share data among multiple users  Result: Multiplexed Information & Computer Service MULTICS.
  • 4. Unix Biography  1969 Bell Labs withdraws from group, Two Bell Lab scientists, Ken Thompson and Dennis Ritchie, continue research.  At the same time Ken Thompson wrote a game “space travel” in Fortran to run on GECOS OS  Thompson ported the game to a little used PDP-7 computer www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 5. Unix Biography-PDP-7  In 1969, Ken Thompson wrote the first UNIX system in assembly language on a PDP-7, then named Unics as a pun on Multics  It’s as the operating system for Space Travel, a game which required graphics to depict the motion of the planets www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 6. Unix History Here’s Unix history 1969 1976 1978 1991 Creation by Ken Thompson and Denis Ritchie from Bell Labs Creation of Apple www.ananthim.wordpress.com Creation of Linux by Linus Torvalds Split between BSD and type V Unix Author :- Ananthi Murugesan
  • 7. What is Unix The low-level software which handles the interface to system hardware (input/output devices, memory, file system, etc), schedules tasks, and provides common core services such as a basic user interface. It’s portable, multi-tasking and multi-user operating system Portable: runs on many different hardware architectures (Intel x86, Motorola 680x0etc.). Pre-emptive multi-tasking: several programs can run at the same time (time slices, interrupts, and task switching. Multi-user: many users can share the computer system at the same time www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 8. What is Unix – Other Features Uses a simple, uniform file model which includes devices and access to other services in a flexible, hierarchical file system.  Written in a high-level language (“C”) making it easy to read, understand, change and port. The command prompt is a simple user process, the Unix shell, which is also a convenient job programming language. Includes support for regular expressions which are convenient for complex searching. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 9. What is Unix –Philosophy Philosophy of Unix system • Everything is a file – Hard Drive, CDROM drive, CPU … • Task segmentation • A program must be portable • Write code quickly and to share with the community • Correct bugs quickly www.ananthim.wordpress.com
  • 10. Unix Features Multi- user Hierarchical file system Multi tasking Threads Virtual memory Built –in networking Extensive set of utilities www.ananthim.wordpress.com
  • 11. Unix Merits /Demerits True multi-tasking Not that User friendly Flexible/Portable Sleep learning curve “Nice” Programming Events Not 100% compatible with the Microsoft world. www.ananthim.wordpress.com
  • 12. Top ten points why I need to use Unix ?? www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 13. #1 – Flexibility Unix is more flexible and can be installed on many different types of machines, including mainframe computers, supercomputers and micro-computers. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 14. #2 – Scalability • Unix is more stable and does not go down as often as Windows does, therefore requires less administration and maintenance. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 15. #3 – Security • Unix has greater built-in security and permissions features than Windows. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 16. #4 – Compatibility Web sites designed and programmed to be served under a UNIX-based web server can easily be hosted on a Windows server, whereas the reverse is not always true. This makes programming for UNIX the better choice www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 17. #5 – Stability Servers running on UNIX enjoy extremely high up-time and high availability/reliability www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 18. #6 – Performance UNIX servers under high load (which is what is important) are superior to Windows www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 19. #7 – Command line • The command line will always be an invaluable tool for administration purposes. Nothing will ever replace favorite text-based editor www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 20. #8 – Software Updates • Software upgrades from Microsoft often require the user to purchase new or more hardware or prerequisite software. That is not the case with Unix. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 21. #9 – Price • The mostly free or inexpensive open-source operating systems, such as Linux and BSD. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 22. #10 – Data security • Users are required to log in before they can do anything. Logging in restricts unauthorised use, allows all files created by a user to be identified as belonging to them and, if necessary, only visible to that user www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 23. Unix - Quiz The BSD system is a different Unix system MacOSX is not based on the Unix system UNIX system is a multi-task system UNIX system is a multi-user system www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 25. Unix Unix System follows a layered Approach It has four layers The innermost layer is the hardware layer In the second layer, the kernel is placed. The utilities and the other application programs form the third layer Fourth layer is the one with which the user actually interacts. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 26. Unix – Kernel Kernel is that part of the OS which directly makes interface with the hardware system. Factions: Provides mechanism for creating and deleting processes Provides processor scheduling, memory and IO management Does interprocess communication. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 27. Unix – Shell Shell Whenever you login to a Unix system you are placed in a shell program. The shell's prompt is usually visible at the cursor's position on your screen. To get your work done, you enter commands at this prompt. The shell is a command interpreter;. It takes each command and passes it to the operating system kernel to be acted upon. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 28. Types of Shell Bourne shell (sh) Shell C shell (csh) Korn shell (ksh) Kron Shell Bournce Shell C shell www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 29. Unix - Shell A Utility program that comes with the unix system. Features of Shell are: Interactive Processing Background Processing I/O Redirection Pipes Shell Scripts Shell Variables Programming Constructs www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 30. Unix Bourne Shell(sh) – This is the original shell of UNIX which comes with every UNIX sytem and may be that is the reason that it is so popular.It was written by Stephen Bourne at Bell Labs in 1974 • C shell(csh) – It has a syntax that resembles that of the highly popular C programming language (also developed at Bell Labs), and thus it is sometimes preferred by programmers. Korn shell(ksh) – It is a superset of sh developed by David Korn at Bell Labs in 1983. It contains many features of the C shell as well, including a command historys www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 31. MS Windows Vs UNIX C: / N: sue ollie cdrom floppy users local dan ollie sue dan mail exec A: D: N:danexec www.ananthim.wordpress.com mail exec /users/dan/exec Author :- Ananthi Murugesan
  • 32. Unix [1] Absolute location: /users/dan/mail/my.doc [2] Relative to the directory “sue” ../dan/mail/my.doc / cdrom floppy users local dan ollie sue [3] For Dan, relative to his homespace: ~/mail/my.doc [4] For everyone else, relative to Dan’s homespace: mail exec my.doc www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 33. Unix - File Management Unix uses a hierarchical file system with “/” as its root. Every non-leaf node of the tree is called as a directory file. Every leaf node can either be a file or an empty directory www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 34. Unix – CPU Scheduling Unix uses “Round-Robin” scheduling to support its multiuser and time-sharing feature. Round-Robin fashion of scheduling is considered to be oldest,simplest and widely used algorithm. Here, every process is given a time slice(10-100 millisec.) www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 35. What can UNIX do for you ? Departmental E-mail  World Wide Web  Scientific Programming 1.FORTRAN 2.C/C++ 3.Matlab 4.Maple Text Processing Plotting packages 1.Gnuplot 2.tecplot www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 36. Unix Super User Group 2 Group 1 Owner Group member Group member www.ananthim.wordpress.com others others others Author :- Ananthi Murugesan
  • 37. Unix -Log in  You will need to have a valid username and a password  Type your username at the login prompt UNIX is case sensitive When the password prompt appears, type in your password. Your password is never displayed on the screen as a security measure www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 38. Unix - Login screen www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 39. Unix - How to change the passwords passwd command Old password: - enter your current password New password: - enter your new password Retype new password: - re-enter your new password www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 40. Unix -Logging Off The System – To logout enter the command logout or exit. – If this does not work, press Ctrl-d. – If you have a .logout file in your home directory, the system will execute any commands contained there. www.ananthim.wordpress.com Author :- Ananthi Murugesan
  • 41. Unix - Stop and Think Do you have any questions ? Catch me @ www.ananthim.wordpress.com