I use Docker to achieve a similar thing...<p>1) Boot up a new Ubuntu docker container
2) Run command &#x2F; script
3) Use `docker diff` to see what changes to the filesystem were made<p>Obviously it&#x27;s only useful for some commands, but at least it&#x27;s safe :-)