From: Lars Braeuer (lbraeuer_at_mpex.net)
Date: Fri 11 Jul 2003 - 14:25:34 BST
is it right that "vserver <name> exec <command>" only allows to execute one
command at a time. appending another command with && doesn't seem to work, since
only the first command is executed within the vserver and the other one is
executed in the physical system. escaping the && didn't work either as well as
putting quotes or brackets around the two commands.
ie.
vserver test01 exec test -e /file && cat /file
vserver test01 exec test -e /file \&\& cat /file
vserver test01 exec (test -e /file && cat /file)
vserver test01 exec \(test -e /file && cat /file\)
vserver test01 exec "test -e /file && cat /file"
any ideas?