nerdexam
CompTIA

XK0-005 · Question #99

Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP address 192.168.3.22. The file needs…

The correct answer is A. scp ~/software.rpm [email protected]:/tmp. To transfer the /root/sample file on a remote computer called appserver to the /var directory on the local computer, you could run the following scp command: [root@server1 ~]# scp root@appserver:/root/sample /var Similarly, to copy the /root/sample file to the /var directory on…

System Management

Question

Ann, a junior Linux administrator, needs to copy software from her local machine to assist in developing a software application on a remote machine with the IP address 192.168.3.22. The file needs to be placed on the /tmp directory. After downloading the RPM to the local machine, which of the following commands would be BEST to use to copy the software?

Options

How the community answered

(16 responses)
  • A
    88% (14)
  • B
    6% (1)
  • C
    6% (1)

Explanation

To transfer the /root/sample file on a remote computer called appserver to the /var directory on the local computer, you could run the following scp command: [root@server1 ~]# scp root@appserver:/root/sample /var Similarly, to copy the /root/sample file to the /var directory on appserver, you could use the following scp command: [root@server1 ~]# scp /root/sample root@appserver:/var

Topics

#SCP#File Transfer#Remote Systems#Command Line

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice