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…
Question
Options
- Arsync [email protected]:/tmp accounts.pdf
- Bscp accounts.pdf [email protected]:/tmp
- Ccp [email protected]:/tmp accounts.pdf
- Dssh accounts.pdf [email protected]:/tmp
How the community answered
(16 responses)- A6% (1)
- B94% (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
Community Discussion
No community discussion yet for this question.