Hide output of pushd or popd bash shell command
Hide output of pushd or popd bash shell command Simple as it is a couple of weeks ago when writing a shell script I wanted to hide the out put of shell commands. Specifically pushd and popd, I completely forgot this could easily be solved by redirecting stdout to device /dev/null (aka 'the void') pushd /var/storage > /dev/null You can use this for any shell command you want to hide output for.