diff --git a/scp.md b/scp.md index b7148c185..9f3bc39f4 100644 --- a/scp.md +++ b/scp.md @@ -2,6 +2,8 @@ title: scp category: CLI layout: 2018/sheet +authors: + - github: vastpeng --- ### Usage @@ -24,8 +26,12 @@ scp source_path destination_path ### Commands - $ scp file user@host:/path/to/file # copying a file to the remote system using scp command - $ scp user@host:/path/to/file /local/path/to/file # copying a file from the remote system using scp command +```bash +$ scp file user@host:/path/to/file # copying a file to the remote system using scp command +$ scp user@host:/path/to/file /local/path/to/file # copying a file from the remote system using scp command +``` - $ scp file1 file2 user@host:/path/to/directory # copying multiple files using scp command - $ scp -r /path/to/directory user@host:/path/to/directory # Copying an entire directory with scp command +```bash +$ scp file1 file2 user@host:/path/to/directory # copying multiple files using scp command +$ scp -r /path/to/directory user@host:/path/to/directory # Copying an entire directory with scp command +```