Which of the following commands is used in Linux to copy files or directories from one location to another? MCQ with Answer and Explanation

Which of the following commands is used in Linux to copy files or directories from one location to another?
A. rm
B. ln
C. mv
D. cp
Answer: Option D
Solution (By JKExamLibrary)
The 'cp' command is used in Unix-like systems to copy files or entire directory trees from a source path to a destination path.

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 Windows tool displays comprehensive diagnostic indicators detailing live CPU, memory, disk, and network parameters broken down by individual process IDs?
A. Registry Base Applet
B. Resource Monitor
C. Device Manager Panel
D. System Restore Console

Correct Answer: Option B


Explanation:
Resource Monitor expands on basic Task Manager metrics, providing fine-grained real-time tracking of handle bounds, disk channel usage, and network sockets.

This question belongs to: Computer Operating Systems
Question #2 Report Error
Which Windows command is used to display the IP configuration and release/renew DHCP leases?
A. All of the above
B. ipconfig /flushdns
C. ipconfig /all
D. ipconfig /release and /renew

Correct Answer: Option A


Explanation:
ipconfig supports various options: /all for full info, /release and /renew for DHCP, and /flushdns for DNS cache.

This question belongs to: Computer Operating Systems
Question #3 Report Error
Which of the following is a symmetric multiprocessing (SMP) system?
A. A system with multiple processors each with their own memory
B. A system with multiple processors sharing a single memory space and OS
C. A system with one processor and multiple cores
D. A system that uses distributed memory

Correct Answer: Option B


Explanation:
SMP architecture has multiple CPUs sharing a single main memory and OS, with equal access to resources.

This question belongs to: Computer Operating Systems