Linux remote copy and local copy command 1. linux remote copy scp command scp file name root @ remote ip: /path/copy the test.tar file under homedirectory to the/home/adm/directory of the remote host 192.168.1.23. the command is scp/home/te... linux remote copy and local copy command 1. linux remote copy scp command scp file name root @ remote ip: /path/copy the test.tar file under the homedirectory to the/home/adm/directory of the remote host 192.168.1.23, the command is: scp/home/test.tar root@192.168.1.23: /home/adm/press enter and then enter the password. scp provides several options to add the scp to keep the source file creation time when-p copies the file. -Q: No prompt message is displayed when the file is copied. -When copying the entire directory www.2cto.com-v, a prompt message is displayed. II. cp force overwrite copy in linux 1) Cancelling cp alias is not permanently effective # unalias cp # cp a/test/a 2) when executing the cp command with \ cp, do not go to alias # \ cp a/test/a 3) Blinux has its own method at first # yes | cp a/test/a author youngJava
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.