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

Inode - file structure on Unix

Internal representation of a file is called an Inode (contraction of term - index node) which contains all the required information and description of the file data and its layout on disk. This article deals in detail with the informati

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