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

I am trying to unmount a remote file system,but I do not unmount that file system.How can i know the user name (i.e.,user who is using that file system).....write the command with argument

2 Answers  


What is INODE?

6 Answers   BMC,


How do you create special files like named pipes and device files?

1 Answers   Wipro,


How many VI editor modes do you know?

8 Answers   Infosys,


If your linux machine shows a ~(tilde) in most filenames on your dos or windows partition,what is the mistake you have made?How do you get back the long filenames?

2 Answers  






why unix commands simpler rather than complex task

0 Answers   CGI,


How will you run the script in UNIX?

5 Answers   BMC,


i am prepairing for 2+ yrs exp in oracle/unix production support,can u tell me which type issue comes in server plz help

0 Answers   Crimson Logic,


What is a Region?

1 Answers  


What is major difference between the Historic Unix and the new BSD release of Unix System V in terms of Memory Management?

1 Answers  


process id for kernell process?

4 Answers   TCS,


How do you log in to a remote Unix box?

2 Answers  


Categories