News

Each Linux command returns an exit code, with 0 indicating success and non-zero values indicating failure. You can use the $? variable to access the exit code and control program flow in scripts.
It isn’t an uncommon scenario. The obvious answer is to create an archive — a zip or tar file, maybe — and include a shell script that you have to tell the user to run after unpacking.