Beneath are my multiple choices questions to assess the students’ abilities in file navigation by using “ls.”
- novice vs. competent
Use “ls” to view the details of all visible files in a directory, including ownership, execution rights, size, modification dates.
- ls -a
- ls -F
- ls -l
- ls -s
- competent vs. expert
Use “ls” to view the details of all visible files in a directory, including ownership, execution rights, size (in human readable format), modification dates, and sort them by their modification dates (most recently modified file at the bottom).
- ls -ahstr
- ls -lHstr
- ls -aHstr
- ls -lhstr