Which Linux command is used to change the password of the current user? MCQ with Answer and Explanation

Which Linux command is used to change the password of the current user?
A. passwd
B. chpasswd
C. password
D. usrpasswd
Answer: Option A
Solution (By JKSSB Mock Tests)
passwd without arguments changes the current user's password; chpasswd is for batch changes.

Discuss this Question (0)

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

Practice More Operating Systems Questions

Question #1
Which Linux command is used to display the first few lines of a file?
A. more
B. head
C. tail
D. less

Correct Answer: Option B


Explanation:
head shows the first 10 lines by default; tail shows the last lines.

This question belongs to: Computer Operating Systems
Question #2
Which fundamental principle is used by an operating system to prevent user applications from directly overwriting or damaging crucial system code?
A. Dynamic Link Libraries
B. Spooler Buffering
C. Disk Defragmentation
D. Dual-Mode Operation (User Mode vs. Kernel Mode)

Correct Answer: Option D


Explanation:
Dual-mode operation provides hardware-level protection by separating execution into restricted User Mode (for user apps) and privileged Kernel Mode (for the OS kernel).

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

Correct Answer: Option D


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