I/O redirection using dup() system call

What is a dup() system call. dup() system call in unix systems copies a file descriptor into the first free slot in the private file descriptor table and then returns the new file descriptor to the user. It works for all the file types. The

inode and file descriptor table Interaction

 Inode tables interact with user process specific file descriptor tables and global file tables in Unix File System to facilitate the file handling. In this article we would discuss about these table in detail and build an understandin

Unix File System internals

In Unix based file systems all the entities on disk are treated as a File. The internal representation of a file is called an "inode" (contraction of term - index node) which contains all the required information and description of the fi