CompTIA
XK0-004 · Question #8
XK0-004 Question #8: Real Exam Question with Answer & Explanation
The correct answer is A: scp -r working/* webuser@corporate-web:/var/www/html. https://unix.stackexchange.com/questions/232946/how-to-copy-all-files-from-a-directory-to-a- remote-directory-using-scp
Question
A Linux systems administrator needs to copy the contents of a directory named "working" on the local working system to a folder /var/www/html on a server named "corporate-web". Which of the following commands will allow the administrator to copy all the contents to the web server?
Options
- Ascp -r working/* webuser@corporate-web:/var/www/html
- Btar working/* webuser@corporate-web:/var/www/html
- Ccp -r working/* webuser@corporate-web:/var/www/html
- Dmv working webuser@corporate-web:/var/www/html
Explanation
https://unix.stackexchange.com/questions/232946/how-to-copy-all-files-from-a-directory-to-a- remote-directory-using-scp
Community Discussion
No community discussion yet for this question.