nerdexam
CompTIA

XK0-005 · Question #10580

A Linux administrator needs to transfer a local file named accounts.pdf to a remote /tmp directory of a server with the IP address 10.10.10.80. Which of the following commands needs to be executed…

The correct answer is B. scp accounts.pdf [email protected]:/tmp. The best command to use to transfer the local file accounts.pdf to the remote /tmp directory of the server with the IP address 10.10.10.80 is B. scp accounts.pdf [email protected]:/tmp. This command will use the secure copy protocol (scp) to copy the file from the local machine…

System Management

Question

A Linux administrator needs to transfer a local file named accounts.pdf to a remote /tmp directory of a server with the IP address 10.10.10.80. Which of the following commands needs to be executed to transfer this file?

Options

How the community answered

(16 responses)
  • A
    6% (1)
  • B
    94% (15)

Explanation

The best command to use to transfer the local file accounts.pdf to the remote /tmp directory of the server with the IP address 10.10.10.80 is B. scp accounts.pdf [email protected]:/tmp. This command will use the secure copy protocol (scp) to copy the file from the local machine to the remote server over SSH. The command requires the username and password of the user on the remote server, as well as the full path of the destination directory.

Topics

#File Transfer#SCP#Remote Access#Linux Commands

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice