Add download shortcuts
This commit is contained in:
parent
4c0b5c71d5
commit
e0b2712644
@ -17,11 +17,13 @@
|
|||||||
|
|
||||||
default GREP grep
|
default GREP grep
|
||||||
default ROOT sudo
|
default ROOT sudo
|
||||||
|
default WGET wget
|
||||||
|
default CURL curl
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
# Alias
|
# Alias
|
||||||
|
|
||||||
# CAT, GREP
|
# CAT, GREP, CURL, WGET
|
||||||
|
|
||||||
alias y='"$GREP" -i'
|
alias y='"$GREP" -i'
|
||||||
alias n='"$GREP" -vi'
|
alias n='"$GREP" -vi'
|
||||||
@ -30,6 +32,9 @@ alias c='cat'
|
|||||||
alias w='cat >'
|
alias w='cat >'
|
||||||
alias a='cat >>'
|
alias a='cat >>'
|
||||||
|
|
||||||
|
alias d='"$WGET"'
|
||||||
|
alias u='"$CURL"'
|
||||||
|
|
||||||
# XARGS
|
# XARGS
|
||||||
|
|
||||||
alias x='xargs'
|
alias x='xargs'
|
||||||
@ -41,6 +46,9 @@ alias xc='xargs cat'
|
|||||||
alias xw='xargs cat >'
|
alias xw='xargs cat >'
|
||||||
alias xa='xargs cat >>'
|
alias xa='xargs cat >>'
|
||||||
|
|
||||||
|
alias xd='xargs "$WGET"'
|
||||||
|
alias xu='xargs "$CURL"'
|
||||||
|
|
||||||
# SUDO
|
# SUDO
|
||||||
|
|
||||||
alias s='"$ROOT"'
|
alias s='"$ROOT"'
|
||||||
@ -53,3 +61,6 @@ alias sxn='"$ROOT" xargs "$GREP" -iv'
|
|||||||
alias sxc='"$ROOT" xargs cat'
|
alias sxc='"$ROOT" xargs cat'
|
||||||
alias sxw='"$ROOT" xargs cat >'
|
alias sxw='"$ROOT" xargs cat >'
|
||||||
alias sxa='"$ROOT" xargs cat >>'
|
alias sxa='"$ROOT" xargs cat >>'
|
||||||
|
|
||||||
|
alias sxd='"$ROOT" xargs "$WGET"'
|
||||||
|
alias sxu='"$ROOT" xargs "$CURL"'
|
Loading…
Reference in New Issue
Block a user