I'm building a shell script to automatically configure a specific computer with the best settings.  I would like to hide all output from this script except for echo output. Is it possible?
Hiding Script Command Output
shell script;io redirection
Start your script with:exec 3>&1 1>/dev/null 2>&1That will save your original file descriptor for stdout to &3, and then redirect stdout and stderr to /dev/null.  Whenever you want to print something, redirect its output to &3, like:echo This message won't be outputecho But this one will >&3And if you want to hide that detail, you can just define a function that echoes to fd 3:say() {    echo >&3 $@}say This goes to the log