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 –lWhat 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
|