Subject: Re: [vserver] dumb scripting question
From: "Roderick A. Anderson" <raanders@cyber-office.net>
Date: Wed, 21 Oct 2009 17:18:57 -0700

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

I've run multi-part commands using double-quotes but no conditionals so 
this is untested but you might try it this way.

vserver guest1 exec "something && else"


\\||/
Rod
-- 
> 
> Where obviously I want something and else to both run in the guest1 
> instance?  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