On Tuesday 10 March 2009 00:53:25 alex stone wrote:
I'm going through my bash commands manual, but
can't find out how to cd to
a directory and enact a command, all in one go.
( cd <dir> && <command> )
All in the parentheses is executed in the same (sub-)shell.
Have fun,
Arnold