PrepAway - Latest Free Exam Questions & Answers

Which of the following commands is used to securely copy files from one host to another over the network?

Which of the following commands is used to securely copy files from one host to another over the
network?

PrepAway - Latest Free Exam Questions & Answers

A.
ls

B.
cat

C.
mutt

D.
scp

Explanation:

The scp command is used to copy files from one host to another over the network.
What is the scp command?
The scp command is used to copy files over ssh connections. This is pretty useful if a user wants

to transport files between computers, for example, to backup a file. The scp command uses the
ssh command to copy files over the network.
Syntax:
# scp [options] source destination
Where, source refers to the file which a user wants to copy from his current computer/directory,
and destination refers to the home directory of the remote system where a user wants to copy the
file.
Some important options used with the scp command are as follows:

Answer option A is incorrect. The ls command in Linux lists information about files (the current
directory by default).
Answer option C is incorrect. The mutt command is used to manage email within a text only
environment.
Answer option B is incorrect. The cat command is used to join multiple files together and display
the result on the screen.


Leave a Reply