Show HN: Run unknown shell script with a line-by-line confirmation prompt
What would be amazing is a tool that analyses the script first, figures out folders and files (and networking) it influences and allows to sandbox it accordingly.<p>This script wants to modify:<p>- /usr/local/program/*<p>- /etc/program/*<p>- $HOME/.program<p>Do you want to execute this? [Yes/No]<p>..because you know, what happens when you execute a script that does rm -rf /usr in the 100th step?