Multiple choice technology operating systems

ls -i is used to

  1. list all files

  2. list all hidden files

  3. list files with inode number

  4. list files starting with i

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The ls -i command prints the index number (inode) for each file alongside its name. In contrast, ls -a is used to list all files including hidden ones, and there are no standard flags like -i meant for filtering files starting with a specific letter.