From 08d176e787be3e9ed1bf8df9a7dfc9a7390f3d13 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Tue, 25 Dec 2018 20:27:52 +0800 Subject: [PATCH] scp: Update formatting --- scp.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 +```