[bash] Redirect the output of hostname to /dev/null