Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the command to list all files including hidden ones.
Linux CLI
ls [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-l' shows details but not hidden files.
Using '-h' is for human-readable sizes, not hidden files.
Using '-R' lists directories recursively, not hidden files.
✗ Incorrect
The '-a' option shows all files, including hidden files starting with a dot.
2fill in blank
mediumComplete the command to list files with detailed information.
Linux CLI
ls [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-a' shows hidden files but not details.
Using '-h' changes size format but needs '-l' to show details.
Using '-R' lists directories recursively, not detailed info.
✗ Incorrect
The '-l' option lists files with detailed info like permissions, size, and date.
3fill in blank
hardFix the error in the command to list files with human-readable sizes.
Linux CLI
ls -l [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-a' shows hidden files but not size format.
Using '-R' lists directories recursively, unrelated to size format.
Using '-l' again is redundant.
✗ Incorrect
The '-h' option shows sizes in human-readable format when combined with '-l'.
4fill in blank
hardFill both blanks to list all files recursively with details.
Linux CLI
ls [1] [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-a' instead of '-R' lists hidden files but not recursively.
Using '-h' changes size format but does not list recursively.
✗ Incorrect
Use '-l' for details and '-R' to list directories recursively.
5fill in blank
hardFill all three blanks to list all files with details and human-readable sizes.
Linux CLI
ls [1] [2] [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Omitting '-a' hides hidden files.
Omitting '-h' shows sizes in bytes only.
Using '-R' is not needed here.
✗ Incorrect
Use '-a' to show all files, '-l' for details, and '-h' for human-readable sizes.