prefix for every work aliases, sort
This commit is contained in:
parent
396a91fa7a
commit
8414b77fc5
1 changed files with 6 additions and 6 deletions
|
|
@ -3,12 +3,12 @@ export INFRA=/home/hybris/dev/bearstech/bearstech/infra
|
|||
export PATH=$INFRA/bin:$INFRA/../xen:$PATH
|
||||
|
||||
# Everyday aliases
|
||||
bthost() {cat $INFRA/host/$1}
|
||||
bteach() {$INFRA/bin/foreach $@}
|
||||
dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}}
|
||||
alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"}
|
||||
tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"}
|
||||
vpn-bear() {for i in $(nmcli con | grep vpn | grep -v -- -- | cut -d' ' -f1); do nmcli con down $i; done; nmcli con up bearstech}
|
||||
bt-alerts() {ssh root@pidou monshow | grep -v "none$" | grep -v "^ " | grep -v "^$"}
|
||||
bt-dom0() {awk '/Container:/{ print $2}' ${INFRA}/host/${1}}
|
||||
bt-each() {$INFRA/bin/foreach $@}
|
||||
bt-host() {cat $INFRA/host/$1}
|
||||
bt-tickets() {curl "https://maudin:$(/home/hybris/.scripts/keepcli -p Dashbeard)@dashbeard.bearstech.com/api/dashbeard.txt"}
|
||||
bt-vpn() {for i in $(nmcli con | grep vpn | grep -v -- -- | cut -d' ' -f1); do nmcli con down $i; done; nmcli con up bearstech}
|
||||
|
||||
# Google Cloud
|
||||
# The next line updates PATH for the Google Cloud SDK.
|
||||
|
|
|
|||
Loading…
Reference in a new issue