Skip to content

Instantly share code, notes, and snippets.

@craigw
Created August 23, 2012 21:13
Show Gist options
  • Save craigw/3441861 to your computer and use it in GitHub Desktop.
Save craigw/3441861 to your computer and use it in GitHub Desktop.
craig@zuu 0 ruby-1.9.3-p194 ~$ ruby ./example.rb 1>example.out 2>&1
craig@zuu 0 ruby-1.9.3-p194 ~$ cat ./example.out
STDERR
STDOUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment