Re: [LAU] Script

From: Arnold Krille <arnold@email-addr-hidden>
Date: Tue Mar 10 2009 - 09:34:27 EET

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

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Received on Tue Mar 10 12:15:01 2009

This archive was generated by hypermail 2.1.8 : Tue Mar 10 2009 - 12:15:01 EET