Professional Documents
Culture Documents
Unix Programming Iii B.Tech I Sem R16: Unit - I Introduction To Unix by K. Siva Kumar
Unix Programming Iii B.Tech I Sem R16: Unit - I Introduction To Unix by K. Siva Kumar
UNIT –I
Introduction to Unix
by
K. Siva Kumar
UNIT-I Syllabus
Brief History
What is Unix
Unix Components
Using Unix
Commands in Unix
Some Basic Commands
Command Substitution
Giving Multiple Commands
Brief History
Bell Laboratory’s Contribution
Multics (Multiplexed Information and Computing
System),1965
UNICS(Uniplexed Information and Computing
System),1969
System V,1983
UCB’s Contribution
BSD Unix, Spring of 1973
What is Unix
UNIX is
A Multi tasking operating system
A Multi User Operating System
Highly Portable
Provides security at Various levels
Uses Text-based Terminal
Unix Components
It has 3 major components
The Kernel
The Shell
The File System
Using Unix
The Log Process
The Shell Prompt
$
%
#
Commands in Unix
Type of Unix Commands
External Commands-cat, ls
Internal Commands- echo, cd, mkdir
Some Basic Commands
echo
tput
tty
who
uname
date
cal
calendar
passwd
lock
banner
cat
bc
spell and ispell
Command Substitution
In Unix, it is possible to run a command within
a command
Example
1) $echo Today the date is ‘date’
Today the date is Fri Jul 6 9:40:00 IST 2018
2) In Korn shell,
$echo Today the date is $(date)
Today the date is Fri Jul 6 9:40:00 IST 2018
Giving Multiple Commands
One of the ways of giving multiple commands
is to use a semicolon(;) between successive
commands
Example:
$echo “Giving Multiple commands”; date;who
They are executed independently one after the
other ,from left to right as they appear in the
command line.