On Fri, Jul 11, 2003 at 05:32:48PM +0100, Paul Sladen wrote:
> On Fri, 11 Jul 2003, Lars Braeuer wrote:
> > is it right that "vserver <name> exec <command>" only allows to execute one 
> > command at a time.
> 
> Think of it in the same way that you would use sudo.
> 
> > vserver test01 exec test -e /file && cat /file
> 
> So try:
> 
>   vserver test01 exec test -e /file && vserver test01 exec cat /file
> 
> and hope that the vserver script is properly written to hand-back return
> codes and the like.

ever considered 

 vserver TE01 exec bash -c "df ; df"

or

 vserver TE01 exec bash -c "test -e /file && cat /file"

?

best,
Herbert

> 
>       -Paul
> -- 
> War is inconsistent with Truth.  Nottingham, GB

Reply via email to