#! /bin/bash # Args: DIR command cd $1 shift $@ 2>&1