unix - an introduction
DESCRIPTION
This slide deck explores the basics of UNIX operating system - What's UNIX? What are different types of UNIX OS? What is difference between UNIX and Linux? and more..TRANSCRIPT
![Page 1: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/1.jpg)
UNIX Operating System An Introduction
By: Deepanshu Gahlaut
Web and Social Media Enthusiastic @DpanshuGahlaut
![Page 2: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/2.jpg)
![Page 3: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/3.jpg)
Let’s Start With Basics ...
![Page 4: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/4.jpg)
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.
![Page 5: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/5.jpg)
![Page 6: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/6.jpg)
Most Popular OS
![Page 7: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/7.jpg)
Getting Started
![Page 8: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/8.jpg)
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?
![Page 9: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/9.jpg)
We use the term "Unix" in a collective
sense to refer to Unix, Unix-derived,
and Unix-like systems.
![Page 11: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/11.jpg)
UNIX Categories
There are three kinds of Unix System -
Genetic UNIX
Trademark or Branded UNIX Functional UNIX
![Page 12: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/12.jpg)
Those systems with a historical connection to the AT&T codebase. For example -
BSD systems.
#1. Genetic UNIX
![Page 13: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/13.jpg)
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
![Page 14: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/14.jpg)
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
![Page 15: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/15.jpg)
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
![Page 16: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/16.jpg)
![Page 17: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/17.jpg)
UNIX Features
Portability
Multi-user Capability
Multitasking Capability
Security
Built-in Networking
Programming Facility
The UNIX Toolkit
![Page 18: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/18.jpg)
UNIX Structure
![Page 19: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/19.jpg)
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
![Page 20: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/20.jpg)
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
![Page 21: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/21.jpg)
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]
![Page 22: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/22.jpg)
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
![Page 23: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/23.jpg)
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
![Page 24: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/24.jpg)
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
![Page 25: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/25.jpg)
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.
![Page 26: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/26.jpg)
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.
![Page 27: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/27.jpg)
UNIX File System
![Page 28: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/28.jpg)
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.
![Page 29: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/29.jpg)
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
![Page 30: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/30.jpg)
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
![Page 31: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/31.jpg)
![Page 32: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/32.jpg)
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?
![Page 33: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/33.jpg)
![Page 34: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/34.jpg)
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
![Page 35: Unix - An Introduction](https://reader034.vdocument.in/reader034/viewer/2022052410/55394a314a7959016b8b4a09/html5/thumbnails/35.jpg)
LIKE THIS DECK? Get In Touch!
Check Out Some of Other Slideshares..
Follow Me For More Great Content