Unix Network Programming (Mcavsem) Elective
Unix Network Programming (Mcavsem) Elective
PROGRAMMING
(MCA V Sem )
Elective
/
I hear and I forget,
I see and I remember,
I Do and I Understand.
UniversityofHyderabad --Chinese Proverb
Course Overview
System
Basics
Programming
Network
Programming
Network
Applications
Configuration
UniversityofHyderabad
Essential Books
Evaluation Structure
60 + 20 + 12 + 8
UniversityofHyderabad
Basics
1. History of Unix
2. Basic Commands and Utilities
3. Bash Shell Programming
4. C Programming Tools
UniversityofHyderabad
Unix History
Those who cannot remember the past are condemned to repeat it.
-- George Santayana The Life of Reason (1905)
UniversityofHyderabad
1969. Development on UNIX starts in AT&Ts Bell Labs.
1971. 1st Edition UNIX is released.
1973. 4th Edition UNIX is released. This is the first version
of UNIX that had the kernel written in C.
1974. Ken Thompson and Dennis Ritchie publish their
classic paper, The UNIX Timesharing System [RITC74].
1975. 6th Edition, also called V6 UNIX, becomes the first
version of UNIX to be used outside Bell Labs. The University
of California at Berkeley starts development on the
Berkeley Software Distribution or more commonly called
BSD.
UniversityofHyderabad
1977. At this stage there were 500 sites running UNIX. Universities
accounted
for about 20 percent of those sites.
1979. 7th Edition UNIX was rewritten to make it more portable.
Microsoft licenses 7th Edition and starts development of Xenix.
1980. Microsoft releases Xenix, a PC-based version of UNIX.
1982. AT&Ts UNIX Systems Group releases System III UNIX. The
Santa Cruz Operation (SCO) licenses Xenix from Microsoft.
1983. AT&Ts UNIX System Development Labs release System V
Release 1 UNIX.
UniversityofHyderabad
1984. 4.2BSD is released including TCP/IP. System V Release
2 is released and the number of installations of UNIX
worldwide exceeds 100,000. Digital Equipment Corporations
(DECs) 4.2BSD-based Ultrix is released.
1986. 4.3BSD is released. 4.2BSD-based HP-UX first appears.
IBM releases AIX 2 for the RT server.
1987. AT&T releases System V Release 3, which includes
STREAMS, the Network File System (NFS), and the Transport
Level Interface (TLI).
1989. As a joint venture between AT&Ts Unix System
Laboratories (USL) and Sun Microsystems, System V Release
4.0 is released.
1990. Based on SVR2 with enhancements from 4.2BSD and
UniversityofHyderabad
4.3BSD, IBM releases AIX 3.1.
1991. Linus Torvalds announces Linux 0.0.1.
1992. USL releases System V Release 4.2 that includes the VERITAS
filesystem VxFS and Volume Manager VxVM.
1993. 4.4BSD, the last release from Berkeley, is released. SVR4.2MP
is released by Novell following their purchase of USL from AT&T.
1994. 4.4BSD Lite, which was free of copyrighted UNIX source code,
is released.
1995. SCO buys Novells UNIX business.
1996. The Linux 2.0 kernel is released.
1997. UnixWare 7, a merge of SVR4.2MP and SCO OpenServer, is
released.
2001. SCOs UNIX business is sold to Linux distributor Caldera. The
Linux 2.4 UniversityofHyderabad
UNIX Architecture
User useruser user
interface user user user user
Kernel interface
to the hardware terminal controller, terminals,
physical memory, device controller,
devices such as disks, memory, etc.
UNIX
UniversityofHyderabad
UNIX Architecture
(cont.)
UniversityofHyderabad
Basic Commands And
Utilities
Whoami
who
man
pwd
cat
ls -adglsFR
mv
mkdir -p
cd (Command)
rm -fir
chmod (passwd,wall)
umask
UniversityofHyderabad
File Permissions
UniversityofHyderabad
Example of Different
Versions
The Andrew Toolkit developed jointly by IBM
and Carnegie-Mellon.
The InterViews Toolkit developed at Stanford.
The X Toolkit developed at MIT and distributed
with X11.
The Tk toolkit developed at Berkeley along
with Tcl.
The Motif toolkit developed by the OSF.
The OPEN LOOK toolkit developed by AT&T
and Sun.
UniversityofHyderabad
Example of Different
Versions