728x90
Transfer files
Local to remote server
You can use the scp (Secure Copy) command to transfer files from your local machine to a remote server or vice versa. The syntax is as follows:
scp /path/to/local/file username@remote_server:/path/to/remote/directory
This command will copy the file located at /path/to/local/file to the remote server at the specified directory location.
Remote server to local
scp username@remote_server:/path/to/remote/directory /path/to/local/file
728x90
'Shell & Command' 카테고리의 다른 글
mysql processlist logging (0) | 2023.03.03 |
---|---|
[Shell] SSH (0) | 2023.02.22 |
git windows에서 파일 권한 변경하기 (0) | 2023.02.16 |
[Makefile] Makefile Tutorial (0) | 2022.03.31 |
**.sh 실행시 $'\r': command not found 오류 해결 --> Notepad++ 옵션: UNIX 형식으로 변환 (0) | 2021.06.16 |
최근댓글