Complete the command to list files with their inode numbers.
ls -i [1]-l only shows detailed info but not hidden files.-h is for human-readable sizes, not inode listing.The -a option shows all files including hidden ones, which helps see all inodes.
Complete the command to find the inode number of a file named 'example.txt'.
ls -i [1]-l or -a unnecessarily.-R when not needed.To find the inode of a specific file, just provide its name after ls -i.
Fix the error in the command to display inode numbers of all files in the current directory.
ls [1]-l shows details but not inode numbers.-h is for sizes, not inodes.The -i option tells ls to show inode numbers.
Fill both blanks to create a command that finds files with inode number 123456.
find . -inum [1] -print[2]
The -inum option finds files by inode number. Redirecting output with > output.txt saves results.
Fill all three blanks to create a command that lists inode numbers, file sizes, and names for all files.
ls [1] [2] [3]
-i so no inode numbers show.-h makes sizes easier to read.-i shows inode numbers, -l shows detailed info including size, and -h makes sizes human-readable.