Wget, Curl and POST (refs): Difference between revisions
From WikiMLT
m Стадий: 6 [Фаза:Утвърждаване, Статус:Утвърден]; Категория:Linux Server |
m Text replacement - "Network_Security" to "Network_and_Security" |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{ContentArticleHeader/Linux_Server|toc=off}}{{ContentArticleHeader/ | <noinclude>{{ContentArticleHeader/Linux_Server|toc=off}}{{ContentArticleHeader/Network_and_Security}}</noinclude> | ||
Download a script from [https://pastebin.com/raw/HrLTibuR PasteBin] by <code>curl</code>: | Download a script from [https://pastebin.com/raw/HrLTibuR PasteBin] by <code>curl</code>: | ||
Line 15: | Line 15: | ||
{{devStage | {{devStage | ||
| Прндл = Linux Server | | Прндл = Linux Server | ||
| Прндл1 = Network Security | | Прндл1 = Network and Security | ||
| Стадий = 6 | | Стадий = 6 | ||
| Фаза = Утвърждаване | | Фаза = Утвърждаване |
Latest revision as of 08:41, 8 September 2022
Download a script from PasteBin by curl
:
curl https://pastebin.com/raw/HrLTibuR | \
sed -e 's/\r$//' | sudo tee /ust/local/bin/merge-video-sub.sh && \
sudo chmod +x /ust/local/bin/merge-video-sub.sh
References:
- GET and POST requests by Wget and/or CURL
- Auto login on page via CLI by the POST command
- Text Processing: Remove Carriage Return