From 6c10d381b492192bfd5fae2c4d05a56840dc53f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Orhun=20Parmaks=C4=B1z?= Date: Sun, 19 Sep 2021 01:27:14 +0300 Subject: [PATCH] docs(readme): prefix commands with '$' --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 8137245..d0f9522 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ $ rpaste - #### Expiration ```sh -curl -F "file=@x.txt" -H "expire:10min" "" +$ curl -F "file=@x.txt" -H "expire:10min" "" ``` (supported units: `ns`, `us`, `ms`, `sec`, `min`, `hours`, `days`, `weeks`, `months`, `years`) @@ -65,19 +65,19 @@ curl -F "file=@x.txt" -H "expire:10min" "" #### One Shot ```sh -curl -F "oneshot=@x.txt" "" +$ curl -F "oneshot=@x.txt" "" ``` #### Cleaning Up Expired Files ```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 ```sh -curl -F "url=https://example.com/some/long/url" "" +$ curl -F "url=https://example.com/some/long/url" "" ``` ### Server