SlideShare a Scribd company logo
Computer Science Dept
Unix System
 The Unix operating system is a set of programs that act
as a link between the computer and the user.
 Unix was originally developed in 1969 by a group of
AT&T employees Ken Thompson, Dennis Ritchie,
Douglas McIlroy, and Joe Ossanna at Bell Labs.
 There are various Unix variants available in the
market. Solaris Unix, AIX, HP Unix and BSD are a few
examples. Linux is also a flavor of Unix which is freely
available.
 Several people can use a Unix computer at the
same time; hence Unix is called a multiuser
system.
 A user can also run multiple programs at the same
time; hence Unix is a multitasking environment.
Unix Architecture
Users communicate with the kernel through a
program known as the shell. The shell is a
command line interpreter; it translates commands
entered by the user and converts them into a
language that is understood by the kernel.
Fig: Unix
Architecture
Kernel
The kernel is the heart of the operating system. It
interacts with the hardware and most of the tasks like
memory management, task scheduling and file
management.
SOME OTHER FUNCTIONS PERFORMED BY THE
KERNEL IN UNIX SYSTEM ARE:
 Managing the machine’s memory and allocating it to each
process and decides their priorities.
 Scheduling the work done by the CPU so that the work of
each user is carried out as efficiently as is possible.
 Organizing the transfer of data from one part of
the machine to another.
 Accepting instructions from the unix shell and
carrying them out.
 Enforcing the access permissions that are in force
on the file system
Shell
The shell is the utility that processes your requests. When
you type in a command at your terminal, the shell
interprets the command and calls the program that you
want. The shell uses standard syntax for all commands. C
Shell, Bourne Shell and Korn Shell are the most famous
shells which are available with most of the Unix variants.
 You can use any one of these unix shells if they are
available on your system. And you can switch
between the different unix shells once you have
found out if they are available.
TC shell (tcsh)
Korn shell (ksh)
Bourne Again SHell (bash)
Bourne shell (sh)
C shell (csh)
Commands and Utilities
There are various commands and utilities which you can
make use of in your day to day
activities. cp, mv, cat and grep, etc. are few examples
of commands and utilities. There are over 250 standard
commands plus numerous others provided through
3rd party software. All the commands come along with
various options.
Files and Directories
All the data of Unix is organized into files. All files are
then organized into directories. These directories are
further organized into a tree-like structure called
the files ystem.
Functions of Unix
1. Security
The operating system uses password protection to protect
user data and similar other techniques. it also prevents
unauthorized access to programs and user data.
2. Control over system performance
Monitors overall system health to help improve
performance. records the response time between service
requests and system response to have a complete view of
the system health. This can help improve performance by
providing important information needed to troubleshoot
problems.
3. Job accounting
Operating system Keeps track of time and resources used
by various tasks and users, this information can be used to
track resource usage for a particular user or group of user.
4. Error detecting aids
Operating system constantly monitors the system to detect
errors and avoid the malfunctioning of computer system.
5. Coordination between other software and users
Operating systems also coordinate and assign interpreters,
compilers, assemblers and other software to the various
users of the computer systems.
6. Memory Management
The operating system manages the Primary Memory or
Main Memory. Main memory is made up of a large array of
bytes or words where each byte or word is assigned a
certain address. Main memory is a fast storage and it can be
accessed directly by the CPU. For a program to be executed,
it should be first loaded in the main memory.
7. Processor Management
In a multi programming environment, the OS decides the
order in which processes have access to the processor, and
how much processing time each process has. This function
of OS is called process scheduling. An Operating System
performs the following activities for processor
management.
8. Device Management
An OS manages device communication via their respective
drivers. It performs the following activities for device
management. Keeps tracks of all devices connected to
system. designates a program responsible for every device
known as the Input/Output controller.
9. File Management
A file system is organized into directories for efficient or
easy navigation and usage. These directories may contain
other directories and other files. An Operating System
carries out the following file management activities. It
keeps track of where information is stored, user access
settings and status of every file and more… These facilities
are collectively known as the file system.
Unix File System
 Unix file system is a logical method of organizing
and storing large amounts of information in a way
that makes it easy to manage. A file is a smallest unit in
which the information is stored. Unix file system has
several important features. All data in Unix is
organized into files. All files are organized into
directories. These directories are organized into a tree-
like structure called the file system.
Unix operating system architecture with file structure
Directories or Files and their description
 / : The slash / character alone denotes the root of the filesystem tree.
 /bin : Stands for “binaries” and contains certain fundamental utilities, such
as ls or cp, which are generally needed by all users.
 /boot : Contains all the files that are required for successful booting
process.
 /dev : Stands for “devices”. Contains file representations of peripheral
devices and pseudo-devices.
 /etc : Contains system-wide configuration files and system databases.
Originally also contained “dangerous maintenance utilities” such as init,but
these have typically been moved to /sbin or elsewhere.
 /home : Contains the home directories for the users.
 /lib : Contains system libraries, and some critical files such as
kernel modules or device drivers.
 /media : Default mount point for removable devices, such as
USB sticks, media players, etc.
 /mnt : Stands for “mount”. Contains filesystem mount points.
These are used, for example, if the system uses multiple hard
disks or hard disk partitions. It is also often used for remote
(network) filesystems, CD-ROM/DVD drives, and so on.
 /proc : procfs virtual filesystem showing information about
processes as files.
 /root : The home directory for the superuser “root” –
that is, the system administrator. This account’s home
directory is usually on the initial filesystem, and hence
not in /home (which may be a mount point for
another filesystem) in case specific maintenance needs
to be performed, during which other filesystems are
not available. Such a case could occur, for example, if a
hard disk drive suffers physical failures and cannot be
properly mounted.
 /tmp : A place for temporary files. Many systems clear
this directory upon startup; it might have tmpfs
mounted atop it, in which case its contents do not
survive a reboot, or it might be explicitly cleared by a
startup script at boot time.
 /usr : Originally the directory holding user home
directories,its use has changed.
Unix operating system architecture with file structure
1. Ordinary files
An ordinary file is a file on the system that contains
data, text, or program instructions.
Used to store your information, such as some text you
have written or an image you have drawn. This is the
type of file that you usually work with.
Always located within/under a directory file. Do not
contain other files.
In long-format output of ls -l, this type of file is specified by
the “-” symbol.
2. Directories
Directories store both special and ordinary files. For users
familiar with Windows or Mac OS, UNIX directories are
equivalent to folders. A directory file contains an entry for
every file and subdirectory that it houses. If you have 10
files in a directory, there will be 10 entries in the
directory. Each entry has two components.
(1) The Filename
(2) A unique identification number for the file or directory
(called the inode number)
3. Special Files
Used to represent a real physical device such as a printer, tape
drive or terminal, used for Input/Ouput (I/O) operations.
Device or special files are used for device Input/Output(I/O) on
UNIX and Linux systems. They appear in a file system just like
an ordinary file or a directory.
 On UNIX systems there are two flavors of special files for each
device, character special files and block special files :
 When a character special file is used for device
Input/Output(I/O), data is transferred one character at a time.
This type of access is called raw device access.
 When a block special file is used for device Input/Output(I/O),
data is transferred in large fixed-size blocks. This type of access
is called block device access.
4. Pipes
UNIX allows you to link commands together using a pipe. The
pipe acts a temporary file which only exists to hold data from
one command until it is read by another.A Unix pipe provides a
one-way flow of data.The output or result of the first
command sequence is used as the input to the second
command sequence. To make a pipe, put a vertical bar (|) on
the command line between two commands.For example: who
| wc -l
In long-format output of ls –l , named pipes are marked by the
“p” symbol.
5. Sockets
A Unix socket (or Inter-process communication socket) is a
special file which allows for advanced inter-process
communication. A Unix Socket is used in a client-server
application framework. In essence, it is a stream of data, very
similar to network stream (and network sockets), but all the
transactions are local to the filesystem.
In long-format output of ls -l, Unix sockets are marked by “s”
symbol.
6. Symbolic Link
Symbolic link is used for referencing some other file of the file
system.Symbolic link is also known as Soft link. It contains a
text form of the path to the file it references. To an end user,
symbolic link will appear to have its own name, but when you
try reading or writing data to this file, it will instead reference
these operations to the file it points to. If we delete the soft
link itself , the data file would still be there.If we delete the
source file or move it to a different location, symbolic file will
not function properly.
In long-format output of ls –l , Symbolic link are marked by the
“l” symbol (that’s a lower case L).
THANK YOU !

More Related Content

PPTX
Introduction to SQL
Ehsan Hamzei
 
PPTX
Inner classes in java
PhD Research Scholar
 
PDF
OS UNIT – 2 - Process Management
Gyanmanjari Institute Of Technology
 
PPT
Architecture of Linux
SHUBHA CHATURVEDI
 
PPTX
Ports and protocols
siva rama
 
PPTX
Human resource management ppt
srinidhiraman
 
PPTX
Theories of organization
Ruchi Jain
 
PPTX
Clientserver Presentation
Tuhin_Das
 
Introduction to SQL
Ehsan Hamzei
 
Inner classes in java
PhD Research Scholar
 
OS UNIT – 2 - Process Management
Gyanmanjari Institute Of Technology
 
Architecture of Linux
SHUBHA CHATURVEDI
 
Ports and protocols
siva rama
 
Human resource management ppt
srinidhiraman
 
Theories of organization
Ruchi Jain
 
Clientserver Presentation
Tuhin_Das
 

What's hot (20)

PPTX
Introduction to Unix
Nishant Munjal
 
PPTX
Operating system and its types
vimal kumar arora
 
PPTX
Unix ppt
sudhir saurav
 
PPTX
Internet address
Shubham Dwivedi
 
PPTX
Linux operating system - Overview
Ashita Agrawal
 
PDF
Operating systems system structures
Mukesh Chinta
 
PPT
Unix File System
student(MCA)
 
PPTX
Process management os concept
priyadeosarkar91
 
PPS
Functions Of Operating System
Dr.Suresh Isave
 
PPT
Networking fundamentals
jpprakash
 
PPTX
Unix ppt
Dr Rajiv Srivastava
 
PPT
Networking ppt
Shovan Mandal
 
PPTX
Types of Operating System
Hemant Raj
 
PPT
Computer network
Neha Gupta
 
PPT
Basic command ppt
Rohit Kumar
 
PPT
Disk structure
Shareb Ismaeel
 
PPTX
Networking devices
Mubassir Ambekar
 
PPTX
Function of Operating system
Amit Mehla
 
PDF
Lesson 2 Understanding Linux File System
Sadia Bashir
 
Introduction to Unix
Nishant Munjal
 
Operating system and its types
vimal kumar arora
 
Unix ppt
sudhir saurav
 
Internet address
Shubham Dwivedi
 
Linux operating system - Overview
Ashita Agrawal
 
Operating systems system structures
Mukesh Chinta
 
Unix File System
student(MCA)
 
Process management os concept
priyadeosarkar91
 
Functions Of Operating System
Dr.Suresh Isave
 
Networking fundamentals
jpprakash
 
Networking ppt
Shovan Mandal
 
Types of Operating System
Hemant Raj
 
Computer network
Neha Gupta
 
Basic command ppt
Rohit Kumar
 
Disk structure
Shareb Ismaeel
 
Networking devices
Mubassir Ambekar
 
Function of Operating system
Amit Mehla
 
Lesson 2 Understanding Linux File System
Sadia Bashir
 
Ad

Similar to Unix operating system architecture with file structure (20)

PPT
LinuxOS-1 (1).ppt
Savitha74
 
PPTX
Unix case-study
NishantMishra126
 
PPTX
Unix Operating System
subhsikha
 
DOCX
UNIT II-Programming in Linux
Dr.YNM
 
PPT
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Sowmya Jyothi
 
DOC
84640411 study-of-unix-os
homeworkping3
 
DOCX
Introduction to unix
sudheer yathagiri
 
PPTX
Linux fundamentals
Raghu nath
 
PPTX
Operating system
HarshithaAllu
 
PPTX
Introduction to unix (1).pptx
virat834293
 
PPT
Spsl unit1
Sasidhar Kothuru
 
PDF
1_Introduction_To_Unix_and_Basic_Unix_Commands
Gautam Raja
 
PPTX
Introduction to Unix Concets.pptx
Harsha Patil
 
PPTX
Introduction to Unix Concets.pptx
Harsha Patil
 
PPTX
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
PPTX
Linux file system
Md. Tanvir Hossain
 
PDF
linuxfilesystem-180727181106 (1).pdf
ShaswatSurya
 
PPTX
Chapter 2 Introduction to Unix Concepts
MeenalJabde
 
PPT
16. Computer Systems Basic Software 2
New Era University
 
LinuxOS-1 (1).ppt
Savitha74
 
Unix case-study
NishantMishra126
 
Unix Operating System
subhsikha
 
UNIT II-Programming in Linux
Dr.YNM
 
Introduction to Unix operating system Chapter 1-PPT Mrs.Sowmya Jyothi
Sowmya Jyothi
 
84640411 study-of-unix-os
homeworkping3
 
Introduction to unix
sudheer yathagiri
 
Linux fundamentals
Raghu nath
 
Operating system
HarshithaAllu
 
Introduction to unix (1).pptx
virat834293
 
Spsl unit1
Sasidhar Kothuru
 
1_Introduction_To_Unix_and_Basic_Unix_Commands
Gautam Raja
 
Introduction to Unix Concets.pptx
Harsha Patil
 
Introduction to Unix Concets.pptx
Harsha Patil
 
Unix and shell programming | Unix File System | Unix File Permission | Blocks
LOKESH KUMAR
 
Linux file system
Md. Tanvir Hossain
 
linuxfilesystem-180727181106 (1).pdf
ShaswatSurya
 
Chapter 2 Introduction to Unix Concepts
MeenalJabde
 
16. Computer Systems Basic Software 2
New Era University
 
Ad

Recently uploaded (20)

PDF
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
PPTX
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
PPTX
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
PPTX
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
PDF
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
DOCX
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
PDF
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
PPTX
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PPTX
Trends in pediatric nursing .pptx
AneetaSharma15
 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
PPTX
CDH. pptx
AneetaSharma15
 
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
Introduction to pediatric nursing in 5th Sem..pptx
AneetaSharma15
 
TEF & EA Bsc Nursing 5th sem.....BBBpptx
AneetaSharma15
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
Review of Related Literature & Studies.pdf
Thelma Villaflores
 
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
family health care settings home visit - unit 6 - chn 1 - gnm 1st year.pptx
Priyanshu Anand
 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
 
The Minister of Tourism, Culture and Creative Arts, Abla Dzifa Gomashie has e...
nservice241
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
Action Plan_ARAL PROGRAM_ STAND ALONE SHS.docx
Levenmartlacuna1
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
An introduction to Prepositions for beginners.pptx
drsiddhantnagine
 
Phylum Arthropoda: Characteristics and Classification, Entomology Lecture
Miraj Khan
 
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
Trends in pediatric nursing .pptx
AneetaSharma15
 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
 
CDH. pptx
AneetaSharma15
 

Unix operating system architecture with file structure

  • 2. Unix System  The Unix operating system is a set of programs that act as a link between the computer and the user.  Unix was originally developed in 1969 by a group of AT&T employees Ken Thompson, Dennis Ritchie, Douglas McIlroy, and Joe Ossanna at Bell Labs.  There are various Unix variants available in the market. Solaris Unix, AIX, HP Unix and BSD are a few examples. Linux is also a flavor of Unix which is freely available.
  • 3.  Several people can use a Unix computer at the same time; hence Unix is called a multiuser system.  A user can also run multiple programs at the same time; hence Unix is a multitasking environment.
  • 4. Unix Architecture Users communicate with the kernel through a program known as the shell. The shell is a command line interpreter; it translates commands entered by the user and converts them into a language that is understood by the kernel.
  • 6. Kernel The kernel is the heart of the operating system. It interacts with the hardware and most of the tasks like memory management, task scheduling and file management. SOME OTHER FUNCTIONS PERFORMED BY THE KERNEL IN UNIX SYSTEM ARE:  Managing the machine’s memory and allocating it to each process and decides their priorities.  Scheduling the work done by the CPU so that the work of each user is carried out as efficiently as is possible.
  • 7.  Organizing the transfer of data from one part of the machine to another.  Accepting instructions from the unix shell and carrying them out.  Enforcing the access permissions that are in force on the file system
  • 8. Shell The shell is the utility that processes your requests. When you type in a command at your terminal, the shell interprets the command and calls the program that you want. The shell uses standard syntax for all commands. C Shell, Bourne Shell and Korn Shell are the most famous shells which are available with most of the Unix variants.
  • 9.  You can use any one of these unix shells if they are available on your system. And you can switch between the different unix shells once you have found out if they are available. TC shell (tcsh) Korn shell (ksh) Bourne Again SHell (bash) Bourne shell (sh) C shell (csh)
  • 10. Commands and Utilities There are various commands and utilities which you can make use of in your day to day activities. cp, mv, cat and grep, etc. are few examples of commands and utilities. There are over 250 standard commands plus numerous others provided through 3rd party software. All the commands come along with various options.
  • 11. Files and Directories All the data of Unix is organized into files. All files are then organized into directories. These directories are further organized into a tree-like structure called the files ystem.
  • 12. Functions of Unix 1. Security The operating system uses password protection to protect user data and similar other techniques. it also prevents unauthorized access to programs and user data. 2. Control over system performance Monitors overall system health to help improve performance. records the response time between service requests and system response to have a complete view of the system health. This can help improve performance by providing important information needed to troubleshoot problems.
  • 13. 3. Job accounting Operating system Keeps track of time and resources used by various tasks and users, this information can be used to track resource usage for a particular user or group of user. 4. Error detecting aids Operating system constantly monitors the system to detect errors and avoid the malfunctioning of computer system.
  • 14. 5. Coordination between other software and users Operating systems also coordinate and assign interpreters, compilers, assemblers and other software to the various users of the computer systems. 6. Memory Management The operating system manages the Primary Memory or Main Memory. Main memory is made up of a large array of bytes or words where each byte or word is assigned a certain address. Main memory is a fast storage and it can be accessed directly by the CPU. For a program to be executed, it should be first loaded in the main memory.
  • 15. 7. Processor Management In a multi programming environment, the OS decides the order in which processes have access to the processor, and how much processing time each process has. This function of OS is called process scheduling. An Operating System performs the following activities for processor management. 8. Device Management An OS manages device communication via their respective drivers. It performs the following activities for device management. Keeps tracks of all devices connected to system. designates a program responsible for every device known as the Input/Output controller.
  • 16. 9. File Management A file system is organized into directories for efficient or easy navigation and usage. These directories may contain other directories and other files. An Operating System carries out the following file management activities. It keeps track of where information is stored, user access settings and status of every file and more… These facilities are collectively known as the file system.
  • 17. Unix File System  Unix file system is a logical method of organizing and storing large amounts of information in a way that makes it easy to manage. A file is a smallest unit in which the information is stored. Unix file system has several important features. All data in Unix is organized into files. All files are organized into directories. These directories are organized into a tree- like structure called the file system.
  • 19. Directories or Files and their description  / : The slash / character alone denotes the root of the filesystem tree.  /bin : Stands for “binaries” and contains certain fundamental utilities, such as ls or cp, which are generally needed by all users.  /boot : Contains all the files that are required for successful booting process.  /dev : Stands for “devices”. Contains file representations of peripheral devices and pseudo-devices.  /etc : Contains system-wide configuration files and system databases. Originally also contained “dangerous maintenance utilities” such as init,but these have typically been moved to /sbin or elsewhere.  /home : Contains the home directories for the users.
  • 20.  /lib : Contains system libraries, and some critical files such as kernel modules or device drivers.  /media : Default mount point for removable devices, such as USB sticks, media players, etc.  /mnt : Stands for “mount”. Contains filesystem mount points. These are used, for example, if the system uses multiple hard disks or hard disk partitions. It is also often used for remote (network) filesystems, CD-ROM/DVD drives, and so on.  /proc : procfs virtual filesystem showing information about processes as files.
  • 21.  /root : The home directory for the superuser “root” – that is, the system administrator. This account’s home directory is usually on the initial filesystem, and hence not in /home (which may be a mount point for another filesystem) in case specific maintenance needs to be performed, during which other filesystems are not available. Such a case could occur, for example, if a hard disk drive suffers physical failures and cannot be properly mounted.  /tmp : A place for temporary files. Many systems clear this directory upon startup; it might have tmpfs mounted atop it, in which case its contents do not survive a reboot, or it might be explicitly cleared by a startup script at boot time.
  • 22.  /usr : Originally the directory holding user home directories,its use has changed.
  • 24. 1. Ordinary files An ordinary file is a file on the system that contains data, text, or program instructions. Used to store your information, such as some text you have written or an image you have drawn. This is the type of file that you usually work with. Always located within/under a directory file. Do not contain other files. In long-format output of ls -l, this type of file is specified by the “-” symbol.
  • 25. 2. Directories Directories store both special and ordinary files. For users familiar with Windows or Mac OS, UNIX directories are equivalent to folders. A directory file contains an entry for every file and subdirectory that it houses. If you have 10 files in a directory, there will be 10 entries in the directory. Each entry has two components. (1) The Filename (2) A unique identification number for the file or directory (called the inode number)
  • 26. 3. Special Files Used to represent a real physical device such as a printer, tape drive or terminal, used for Input/Ouput (I/O) operations. Device or special files are used for device Input/Output(I/O) on UNIX and Linux systems. They appear in a file system just like an ordinary file or a directory.  On UNIX systems there are two flavors of special files for each device, character special files and block special files :  When a character special file is used for device Input/Output(I/O), data is transferred one character at a time. This type of access is called raw device access.  When a block special file is used for device Input/Output(I/O), data is transferred in large fixed-size blocks. This type of access is called block device access.
  • 27. 4. Pipes UNIX allows you to link commands together using a pipe. The pipe acts a temporary file which only exists to hold data from one command until it is read by another.A Unix pipe provides a one-way flow of data.The output or result of the first command sequence is used as the input to the second command sequence. To make a pipe, put a vertical bar (|) on the command line between two commands.For example: who | wc -l In long-format output of ls –l , named pipes are marked by the “p” symbol.
  • 28. 5. Sockets A Unix socket (or Inter-process communication socket) is a special file which allows for advanced inter-process communication. A Unix Socket is used in a client-server application framework. In essence, it is a stream of data, very similar to network stream (and network sockets), but all the transactions are local to the filesystem. In long-format output of ls -l, Unix sockets are marked by “s” symbol.
  • 29. 6. Symbolic Link Symbolic link is used for referencing some other file of the file system.Symbolic link is also known as Soft link. It contains a text form of the path to the file it references. To an end user, symbolic link will appear to have its own name, but when you try reading or writing data to this file, it will instead reference these operations to the file it points to. If we delete the soft link itself , the data file would still be there.If we delete the source file or move it to a different location, symbolic file will not function properly. In long-format output of ls –l , Symbolic link are marked by the “l” symbol (that’s a lower case L).