Hacker News new | ask | show | jobs
by onmai-xyz 2998 days ago

  $ rm file 
  $ echo $?
  $ 0
Silent, unless you go looking. The return value of the last executed command is available as $?.

I picked this up at http://www.rsync.net/resources/howto/remote_commands.html for running commands over ssh and not seeing the console output.