#!/bin/bash cd "$( dirname "$0" )" ARGS="$@" clear cat <&1 | tee /tmp/log set +x done