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

In Linux, what does the command 'ls -l' display?
A. Detailed file information including permissions, owner, size, and timestamp
B. Only file names
C. Files sorted by size
D. Hidden files as well
Answer: Option A
Solution (By JKSSB Mock Tests)
ls -l (long listing) displays permissions, number of links, owner, group, size, date, and filename.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Windows, the Registry is divided into which main hives?
A. HKEY_CONFIG, HKEY_DRIVERS, HKEY_SERVICES
B. HKEY_ROOT, HKEY_USER, HKEY_SYSTEM, HKEY_SOFTWARE
C. HKEY_LOCAL_MACHINE, HKEY_CURRENT_USER, HKEY_CLASSES_ROOT, HKEY_USERS, HKEY_CURRENT_CONFIG
D. HKEY_LOCAL, HKEY_REMOTE, HKEY_DEFAULT

Correct Answer: Option C


Explanation:
The five root keys (hives) are HKLM, HKCU, HKCR, HKU, and HKCC.

This question belongs to: Computer Operating Systems
Question #2
Which of the following is a process scheduling algorithm that allocates CPU to the process with the shortest remaining time?
A. Multilevel Queue
B. Priority Scheduling
C. Round Robin
D. Shortest Job First (SJF)

Correct Answer: Option D


Explanation:
SJF selects the process with the shortest total execution time; the preemptive version is Shortest Remaining Time First (SRTF).

This question belongs to: Computer Operating Systems
Question #3
What is the purpose of the Android 'ConnectivityManager'?
A. To control Bluetooth
B. To monitor and manage network connectivity (Wi-Fi, cellular, etc.)
C. To check data usage
D. To manage Wi-Fi connections only

Correct Answer: Option B


Explanation:
ConnectivityManager provides information about active network connections and allows apps to request network status.

This question belongs to: Computer Operating Systems