bash: alias weather
This commit is contained in:
parent
c3f82eb471
commit
8e9c466d27
@ -62,7 +62,8 @@ alias ports='ss -tlnp'
|
|||||||
alias wget='wget -c'
|
alias wget='wget -c'
|
||||||
alias ping='ping -c 5'
|
alias ping='ping -c 5'
|
||||||
alias myip='curl ipinfo.io/ip'
|
alias myip='curl ipinfo.io/ip'
|
||||||
alias sprunge='curl -F "sprunge=<-" http://sprunge.us 2>/dev/null'
|
alias sprunge='curl -F "sprunge=<-" http://sprunge.us 2>/dev/null' # CLI pastebin
|
||||||
|
alias weather='curl -4 wttr.in/$(cat) 2>/dev/null | head -n -1' # weather by city, gets city from stdin
|
||||||
|
|
||||||
# starts web server
|
# starts web server
|
||||||
alias www='python3 -m http.server 8000'
|
alias www='python3 -m http.server 8000'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user