Skip to main content

Posts

Showing posts with the label copy

How to copy file from and to remote PC in linux, centos

Case 1: How to downloading or copying file from remote PC? Ans: Do it by the following  command -- scp -r user@remote_pc_ip:/path/to/downloadable/file  /your/pc/path After that the command line will ask for password. Give it and download the file. Case 2: How to upload or copy file to remote PC? Ans: Do it by the following  command -- scp -r  /your/pc/path/for/file  user@remote_pc_ip:/path/to/upload/a/file After that the command line will ask for password. Give it and upload the file.