strace
If you do not have strace, it can be installed with
sudo apt-get install -y strace
strace lets you see what commands are doing when you call them.
If you do not have strace, it can be installed with
sudo apt-get install -y strace
strace lets you see what commands are doing when you call them.