phill84.org

System.out.print

Main menu

Skip to primary content
Skip to secondary content
  • home
  • tweets
  • about.me

Tag Archives: redirect

Get rid of unwanted output from bash command

Posted on August 24, 2009 by phill84
Reply

I used to redirect the output to /dev/null, but sometimes it’s not good enough. It’s much better to just turn off stdout and stderr.

$ command 1>&- 2>&- &
Posted in linux | Tagged linux, null, output, redirect | Leave a reply

 

February 2012
M T W T F S S
« Mar    
 12345
6789101112
13141516171819
20212223242526
272829  

Categories

  • blah
  • linux
  • movie
  • osx
  • Programming
  • tv
  • wordpress

Archives

Links

  • alex
  • blacktulip
  • cynix
  • deepwhite
  • dilys
  • emilia
  • maxm
  • mdl
  • net1999
  • tshijing
  • weeker
  • xia
Proudly powered by WordPress