2012-05-05 00:05:50 +02:00
|
|
|
###########################
|
|
|
|
# Settings
|
|
|
|
#
|
|
|
|
# These can be overwritten any time.
|
|
|
|
# If they are not set yet, they will be
|
|
|
|
# overwritten with their default values
|
|
|
|
|
|
|
|
default GREP grep
|
|
|
|
default ROOT sudo
|
|
|
|
|
|
|
|
###########################
|
|
|
|
# Alias
|
|
|
|
|
2012-05-05 10:52:46 +02:00
|
|
|
# CAT, GREP
|
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias y='"$GREP" -i'
|
|
|
|
alias n='"$GREP" -vi'
|
|
|
|
|
2012-05-05 10:52:46 +02:00
|
|
|
alias c='cat'
|
|
|
|
alias w='cat >'
|
|
|
|
alias a='cat >>'
|
|
|
|
|
|
|
|
# XARGS
|
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias x='xargs'
|
2012-05-05 10:52:46 +02:00
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias xy='xargs "$GREP" -i'
|
|
|
|
alias xn='xargs "$GREP" -iv'
|
|
|
|
|
2012-05-05 10:52:46 +02:00
|
|
|
alias xc='xargs cat'
|
|
|
|
alias xw='xargs cat >'
|
|
|
|
alias xa='xargs cat >>'
|
|
|
|
|
|
|
|
# SUDO
|
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias s='"$ROOT"'
|
2012-05-05 10:52:46 +02:00
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias sx='"$ROOT" xargs'
|
2012-05-05 10:52:46 +02:00
|
|
|
|
2012-05-05 00:05:50 +02:00
|
|
|
alias sxy='"$ROOT" xargs "$GREP" -i'
|
2012-05-05 10:52:46 +02:00
|
|
|
alias sxn='"$ROOT" xargs "$GREP" -iv'
|
|
|
|
|
|
|
|
alias sxc='"$ROOT" xargs cat'
|
|
|
|
alias sxw='"$ROOT" xargs cat >'
|
|
|
|
alias sxa='"$ROOT" xargs cat >>'
|