ssh fencepost head -n 300 /gd/gnuorg/EventAndTravelInfo/rms-current-trips.txt | less
}
+sudo () {
+ command sudo "$@" || return $?
+ DID_SUDO=true
+}
s() {
# background
# I use a function because otherwise we cant use in a script,
if [[ $x ]]; then echo "$x"; else echo $l; fi;
done
}
+nonet() {
+ if ! s ip netns list | grep -Fx nonet &>/dev/null; then
+ s ip netns add nonet
+ fi
+ sudo -E env /sbin/ip netns exec nonet sudo -E -u iank /bin/bash
+}
m() { printf "%s\n" "$*"; "$@"; }