Which Linux command is used to find the location of an executable? MCQ with Answer and Explanation

Which Linux command is used to find the location of an executable?
A. locate
B. find
C. which
D. whereis
Answer: Option C
Solution (By JKSSB Mock Tests)
which shows the full path of the command that would be executed, searching in PATH directories.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Windows, what type of administrative tool is 'Disk Management'?
A. A utility that cleans up web browser cache tracks.
B. A framework to analyze network packet drops.
C. An application to modify system registry paths.
D. An interface used to initialize, partition, and format local hard drives or solid-state drives.

Correct Answer: Option D


Explanation:
Disk Management is a Windows system utility that enables users to perform advanced storage operations like creating partitions or changing drive letters.

This question belongs to: Computer Operating Systems
Question #2
In Android, which file system is typically used for the /data partition?
A. NTFS
B. F2FS
C. ext4
D. FAT32

Correct Answer: Option C


Explanation:
Android devices commonly use ext4 or F2FS for internal storage; ext4 is widely adopted due to its journaling and stability.

This question belongs to: Computer Operating Systems
Question #3
In Windows, the 'Resource Monitor' can be accessed from Task Manager and provides:
A. List of system events
B. Startup programs
C. User account management
D. Detailed real-time resource usage including CPU, memory, disk, and network

Correct Answer: Option D


Explanation:
Resource Monitor offers in-depth performance data and per-process resource consumption.

This question belongs to: Computer Operating Systems