lxc exec $CONTAINER -- bash -c "rm -rf /tmp/somefile*" On 11/17/2017 08:03 AM, Tomasz Chmielewski wrote: > > How do I use the variables / wildcards with lxc exec? Say, I want to > remove all /tmp/somefile* in the container.