Which Linux command is used to copy files or directories? MCQ with Answer and Explanation

Which Linux command is used to copy files or directories?
A. scp
B. rsync
C. mv
D. cp
Answer: Option D
Solution (By JKSSB Mock Tests)
cp copies files/directories; mv moves/renames; rsync is for synchronization; scp is secure copy over network.

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 full pathname of the current working directory?
A. ls
B. pwd
C. whoami
D. cd

Correct Answer: Option B


Explanation:
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
Question #2
Which Linux command is used to kill a process by its name?
A. pkill
B. kill
C. term
D. killall

Correct Answer: Option A


Explanation:
pkill kills processes based on name or other attributes; killall is similar but may behave differently; kill uses PID.

This question belongs to: Computer Operating Systems
Question #3
Which component is responsible for loading the initial parts of the operating system kernel into memory during a cold boot?
A. Bootloader
B. Text Editor
C. Defragmenter
D. Compiler

Correct Answer: Option A


Explanation:
The bootloader is a small program stored in non-volatile memory or boot sectors that locates, initializes, and loads the OS kernel into RAM.

This question belongs to: Computer Operating Systems