What would be the result of this command assuming that temp

What would be the result of this command assuming that temp doesn’t exist in the destination account and assuming you are in the home directory when executing the following command: scp -r other@ieng6-201.ucsd.edu:~/temp .

Solution


That will create the target directory ~/temp on the destination host. However, it can\'t create the parent directory.
scp -r other@ieng6-201.ucsd.edu:~/bar/temp . will fail unless the target directory bar exists. In any case, the -r flag won\'t help create a target directory if you are copying individual files.

What would be the result of this command assuming that temp doesn’t exist in the destination account and assuming you are in the home directory when executing t

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site