does the stat() function call use the inode of the file to
generate the information about a file? what is inode mostly
used for?



does the stat() function call use the inode of the file to generate the information about a file? w..

Answer / kiruthikau

In Unix each and every directories and files have inode numbers.

In Unix files and directories are identified by inode number
only.

Using stat we can find the inode number for a file or directory.

inode contains the informations about the file or directory.




Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Unix AllOther Interview Questions

Give the command to display space usage on the UNIX file system.

6 Answers  


What UNIX command will control the default file permissions when files are created?

3 Answers  


Telnet sometimes doesn't permit root logons,how will you then change a file writable only by root on a remote host?

1 Answers  


Why do inode number start from 1 and not 0 ?

3 Answers  


What is an inode?

8 Answers  


What is a level 0 backup?

2 Answers   Atos Origin,


What is the difference between windows environment and Unix environment ?

8 Answers   Oracle,


what is the name os the first os and tell me the year when it was discovered

1 Answers   Qiscet,


What is the main advantage of creating links to a file instead of copies of the file?

5 Answers   Cisco, ING,


Which is the most commonly used replacement algorithm?

0 Answers   Aditi Placement Service,


What is mutex?

2 Answers   BMC,


How do you execute a UNIX command in the background?

2 Answers  


Categories