Which of these commands can be used to show the inode number for a specified file?
ls -i displays each file’s inode number, while stat reports file metadata that includes the inode number.
ls -i
stat
Community Discussion