Is there a generic way of running a bash script and seeing the commands that result, but not actually run the commands - i.e. a "dry run"/simulator of sorts?
I have a database install script (actually "make install" after running ./configure and make) that I wish to run, but it's installing all sorts of stuff that I don't want.
So I'd like a way to see exactly what it's going to do before I run it for real - maybe even run the commands by hand instead.
Is there any utility that can perform such a task (or anything related/similar)?