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

Which Linux command is used to display the current working directory?
A. echo
B. pwd
C. ls
D. cd
Answer: Option B
Solution (By JKSSB Mock Tests)
pwd (print working directory) outputs the absolute path of the current directory.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
In Windows, the 'Telnet' command is used for:
A. Email communication
B. Remote command-line access to another host
C. Web browsing
D. Network file transfer

Correct Answer: Option B


Explanation:
Telnet is a protocol for remote login to a host; it's not secure and often disabled.

This question belongs to: Computer Operating Systems
Question #2
What is the primary role of the Basic Input/Output System (BIOS) during the cold booting process?
A. To load the user's desktop environment and background services.
B. To permanently store user data and system files.
C. To compile application software into machine language.
D. To run the POST (Power-On Self-Test) and initialize system hardware before handing control to the bootloader.

Correct Answer: Option D


Explanation:
The BIOS performs the Power-On Self-Test (POST) to ensure all hardware components are functioning and then locates the bootloader to start the OS.

This question belongs to: Computer Operating Systems
Question #3
What is the purpose of the Windows 'Safe Mode with Networking'?
A. To load the last known good configuration
B. To boot into a command prompt only
C. To start Windows with minimal drivers plus network support for troubleshooting
D. To start Windows with all drivers but no network

Correct Answer: Option C


Explanation:
Safe Mode with Networking adds network drivers so users can access the internet or network shares while troubleshooting.

This question belongs to: Computer Operating Systems