Subject: Re: [vserver] dumb scripting question
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Thu, 22 Oct 2009 13:20:27 +0200

On Wed, Oct 21, 2009 at 11:58:37PM +0100, Ed W wrote:
> Hi, this is probably a fairly dim shell question, but how do the 
> following (in a way which works)

> vserver guest1 exec something && else

> Where obviously I want something and else to both run in 
> the guest1 instance?  

vserver guest1 exec bash -c 'something && else'

best,
Herbert

if you or your company use and like the Linux-VServer project, 
why not consider donating hardware or money, or getting a
service contract with the developers to ensure that it will
live on and continue to provide high quality free software?

> At least running the above in bash lets the shell grab the && 
> and effectively the bit after the && is run on the host?

> Thanks
> 
> Ed W