mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-12-24 01:06:36 +00:00
Create README.md
This commit is contained in:
parent
b485d520be
commit
e62be0846d
21
README.md
21
README.md
@ -1365,6 +1365,16 @@ $! :is the PID of the most recent background command.
|
|||||||
```bash
|
```bash
|
||||||
>filename
|
>filename
|
||||||
```
|
```
|
||||||
|
##### Upload a file to web and download (https://transfer.sh/)
|
||||||
|
--> upload:
|
||||||
|
```bash
|
||||||
|
curl --upload-file ./filename.txt https://transfer.sh/filename.txt
|
||||||
|
```
|
||||||
|
(the above command will return a URL, e.g: https://transfer.sh/tG8rM/filename.txt)
|
||||||
|
--> download:
|
||||||
|
```bash
|
||||||
|
curl https://transfer.sh/tG8rM/filename.txt -o filename.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -1822,15 +1832,4 @@ users
|
|||||||
```bash
|
```bash
|
||||||
w
|
w
|
||||||
```
|
```
|
||||||
##### Upload a file to web and download (https://transfer.sh/)
|
|
||||||
--> upload:
|
|
||||||
```bash
|
|
||||||
curl --upload-file ./filename.txt https://transfer.sh/filename.txt
|
|
||||||
```
|
|
||||||
(the above command will return a URL, e.g: https://transfer.sh/tG8rM/filename.txt)
|
|
||||||
--> download:
|
|
||||||
```bash
|
|
||||||
curl https://transfer.sh/tG8rM/filename.txt -o filename.txt
|
|
||||||
```
|
|
||||||
|
|
||||||
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
=-=-=-=-=-A lot more coming!! =-=-=-=-=-=-=-=-=-=waitwait-=-=-=-=-=-=-=-=-=-
|
||||||
|
Loading…
Reference in New Issue
Block a user