Which Linux command is used to search for files using a database of filenames? MCQ with Answer and Explanation

Which Linux command is used to search for files using a database of filenames?
A. find
B. whereis
C. locate
D. which
Answer: Option C
Solution (By JKSSB Mock Tests)
locate uses a pre-built database (updatedb) to quickly find files by name; find searches in real-time.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In an operating system, what is a 'Deadlock'?
A. A software bug that permanently crashes the hardware system motherboard.
B. A situation where a process finishes its execution earlier than expected.
C. A condition where two or more processes are permanently blocked because each is waiting for a resource held by the other.
D. The safe closing down procedure of the kernel during a reboot.

Correct Answer: Option C


Explanation:
A deadlock is a specific state where a set of processes are stalled because each process holds a resource and waits for another resource held by a different process.

This question belongs to: Computer Operating Systems
Question #2
In Windows, what does the 'gpupdate' command do?
A. Updates Group Policy settings
B. Updates Windows Update
C. Updates device drivers
D. Updates user profiles

Correct Answer: Option A


Explanation:
gpupdate forces a refresh of local and domain Group Policy settings without rebooting.

This question belongs to: Computer Operating Systems
Question #3
Which of the following is a feature of the Windows 10/11 'Task View'?
A. Application grouping
B. Timeline showing activity history
C. Virtual desktops
D. All of the above

Correct Answer: Option D


Explanation:
Task View includes timeline (Windows 10), virtual desktops, and allows switching and grouping apps.

This question belongs to: Computer Operating Systems