πŸ“Š Linux
Q. When the following command $ mv file1 file2 is executed which file inode is released?
  • (A) file1
  • (B) file2
  • (C) a new inode is used
  • (D) no inodes are released
πŸ’¬ Discuss
βœ… Correct Answer: (B) file2

Explanation: Renaming a file in Linux releases the inode number to be reused, in this case the inode of “file2” will be released.

Explanation by: Virat Bhati
Renaming a file in Linux releases the inode number to be reused, in this case the inode of “file2” will be released.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
292
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Virat Bhati
Publisher
πŸ“ˆ
88%
Success Rate