1
0
Fork 0

add bteach alias

This commit is contained in:
Maurice Audin 2017-05-31 20:14:58 +02:00
parent 39a73d3cab
commit 396a91fa7a

View file

@ -4,6 +4,7 @@ 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"}