Which Linux command is used to display the full pathname of the current working directory? MCQ with Answer and Explanation

Which Linux command is used to display the full pathname of the current working directory?
A. whoami
B. ls
C. pwd
D. cd
Answer: Option C
Solution (By JKExamLibrary)
The 'pwd' command stands for 'print working directory', which outputs the exact directory path that the user is currently interacting with.

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 Linux command is used to display the current system load average?
A. uptime
B. All of the above
C. top
D. w

Correct Answer: Option B


Explanation:
uptime, w, and top all show load averages; top provides additional process information.

This question belongs to: Computer Operating Systems
Question #2 Report Error
What type of operating system kernel combines the architecture of both monolithic and microkernel designs to achieve a balance of performance and modularity?
A. Exokernel
B. Asymmetric Kernel
C. Nano-kernel
D. Hybrid Kernel

Correct Answer: Option D


Explanation:
A hybrid kernel layout (used by Windows NT family) balances performance and modularity by putting certain services in kernel space while keeping concepts modular.

This question belongs to: Computer Operating Systems
Question #3 Report Error
What is the name of the default bootloader utility widely used by modern distributions of Linux, such as Ubuntu or Fedora?
A. GRUB
B. BOOTMGR
C. NTLDR
D. LILO

Correct Answer: Option A


Explanation:
GRUB (Grand Unified Bootloader) is the standard and most widely used bootloader across modern Linux distributions.

This question belongs to: Computer Operating Systems