In Linux, what does the command 'ls -l' do? MCQ with Answer and Explanation

In Linux, what does the command 'ls -l' do?
A. Lists only hidden configurations.
B. Launches a system log window.
C. Displays a long list format showing file permissions, owner details, sizes, and modification dates.
D. Permanently deletes all contents of the folder.
Answer: Option C
Solution (By JKExamLibrary)
The '-l' option with the 'ls' command instructs the system to output contents in a detailed, long list format, displaying file permissions, owners, size, and date.

This question belongs to: Computer Operating Systems

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Operating Systems Questions

Question #1 Report Error
Which of the following is a feature of the ext4 file system?
A. Support for extents
B. Case-insensitive filenames
C. File compression built-in
D. No journaling

Correct Answer: Option A


Explanation:
ext4 supports extents (contiguous blocks) for better performance; it also has journaling, but not case-insensitivity.

This question belongs to: Computer Operating Systems
Question #2 Report Error
In Linux, the 'df' command with '-h' option shows:
A. Inode usage
B. Disk space usage in human-readable format
C. File system type
D. Mount options

Correct Answer: Option B


Explanation:
df -h displays file system usage in GB/MB, making it easier to read.

This question belongs to: Computer Operating Systems
Question #3 Report Error
What is the purpose of the Windows 'Safe Mode'?
A. To enable network support for recovery
B. To run the system with maximum performance
C. To load the last known good configuration
D. To boot with minimal drivers and services for troubleshooting

Correct Answer: Option D


Explanation:
Safe Mode loads only essential drivers and services, allowing users to diagnose and fix system issues caused by problematic software or drivers.

This question belongs to: Computer Operating Systems