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