1 2 3 4 5 6 7 8
#!/usr/bin/env sh echo "$ $@" eval $@ USER=${USER:-$(whoami)} SHELL=${SHELL:-$(getent passwd $USER | cut -d: -f7)} ${SHELL:-bash} -i