Unix - What is 'inode'?

What is 'inode'?

Each file in UNIX has a unique number called as an inode. Using this number the file information like user, group, ownership and access mode information can be found. A files inode number can be found using the following command:

Ls –i

If the inode number is known, the following command can be used to get details of the file:

Ls –l

What is 'inode'?

A file in UNIX is given a unique number. This unique number is known as ‘inode’. Every file and directory (treated as a file by UNIX) has an inode value. The inode of a file can be viewed by the command

$ls -i
Unix - What are links and symbolic links in UNIX file system?
What are links and symbolic links in UNIX file system? - A link is a pointer or reference to another file.........
Unix - Explain fork() system call.
Explain fork() system call - fork() system call is used to create processes........
Unix - What is a zombie?
What is a zombie? - A zombie is a process which is completed the execution and still available in the process table........
Post your comment