phill84.org

System.out.print

Main menu

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

Daily Archives: August 24, 2009

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

 

August 2009
M T W T F S S
« Jul   Sep »
 12
3456789
10111213141516
17181920212223
24252627282930
31  

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