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

In Linux, what does the command 'ls -l' do?
A. Permanently deletes all contents of the folder.
B. Launches a system log window.
C. Displays a long list format showing file permissions, owner details, sizes, and modification dates.
D. Lists only hidden configurations.
Answer: Option C
Solution (By JKSSB Mock Tests)
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.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which of the following options represents a core feature of asymmetric multiprocessing (AMP)?
A. A master processor schedules tasks and distributes distinct workloads to specific slave processors.
B. Memory is physically isolated and cannot be read by any processor core.
C. All processors have completely equal priority and share all resources.
D. No two processors can be active inside the motherboard enclosure at the same time.

Correct Answer: Option A


Explanation:
In Asymmetric Multiprocessing (AMP), there is a master-slave structure where a single master controller processor manages system resources and schedules tasks for subordinate processors.

This question belongs to: Computer Operating Systems
Question #2
In Windows, which command is used to list all running services?
A. net start
B. services.msc
C. sc query
D. tasklist

Correct Answer: Option C


Explanation:
The 'sc query' command (Service Control) displays the status of all installed services, while services.msc opens the GUI.

This question belongs to: Computer Operating Systems
Question #3
What is the function of the Android 'MediaScanner'?
A. To play media files
B. To scan media files and update the media database
C. To transcode media
D. To manage media codecs

Correct Answer: Option B


Explanation:
MediaScanner scans storage for media files and adds metadata (artist, album) to the system database for apps to query.

This question belongs to: Computer Operating Systems