1.

The inode number associated with a file is changed after renaming it.(a) True(b) FalseThe question was posed to me in unit test.This intriguing question comes from Deleting and Renaming files: rm and mv Command in section Handling Ordinary Files of Unix

Answer»

Right option is (b) False

Explanation: Every file has an INODE number associated with it which is maintained by the KERNEL. This number is not disturbed even if we rename the file. It remains the same no MATTER how MANY times we rename the file.



Discussion

No Comment Found

Related InterviewSolutions