docs(readme): prefix commands with '$'

This commit is contained in:
Orhun Parmaksız 2021-09-19 01:27:14 +03:00
parent faedf63ebf
commit 6c10d381b4
No known key found for this signature in database
GPG key ID: F83424824B3E4B90

View file

@ -57,7 +57,7 @@ $ rpaste -
#### Expiration #### Expiration
```sh ```sh
curl -F "file=@x.txt" -H "expire:10min" "<server_address>" $ curl -F "file=@x.txt" -H "expire:10min" "<server_address>"
``` ```
(supported units: `ns`, `us`, `ms`, `sec`, `min`, `hours`, `days`, `weeks`, `months`, `years`) (supported units: `ns`, `us`, `ms`, `sec`, `min`, `hours`, `days`, `weeks`, `months`, `years`)
@ -65,19 +65,19 @@ curl -F "file=@x.txt" -H "expire:10min" "<server_address>"
#### One Shot #### One Shot
```sh ```sh
curl -F "oneshot=@x.txt" "<server_address>" $ curl -F "oneshot=@x.txt" "<server_address>"
``` ```
#### Cleaning Up Expired Files #### Cleaning Up Expired Files
```sh ```sh
find upload/ -maxdepth 2 -type f -iname "*.[0-9]*" -exec rm -v {} \; $ find upload/ -maxdepth 2 -type f -iname "*.[0-9]*" -exec rm -v {} \;
``` ```
#### URL Shortening #### URL Shortening
```sh ```sh
curl -F "url=https://example.com/some/long/url" "<server_address>" $ curl -F "url=https://example.com/some/long/url" "<server_address>"
``` ```
### Server ### Server