scp: Update formatting
This commit is contained in:
parent
fd17d3f1b6
commit
08d176e787
6
scp.md
6
scp.md
|
@ -2,6 +2,8 @@
|
|||
title: scp
|
||||
category: CLI
|
||||
layout: 2018/sheet
|
||||
authors:
|
||||
- github: vastpeng
|
||||
---
|
||||
|
||||
### Usage
|
||||
|
@ -24,8 +26,12 @@ scp <options> source_path destination_path
|
|||
|
||||
### Commands
|
||||
|
||||
```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
|
||||
```
|
||||
|
||||
```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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue