Skip to main content

Julia Evans

« back to all TILs

strace's `--tips`

Two things I can’t believe I didn’t know earlier:

  1. strace’s official logo is an adorable ostrich
  2. If you pass --tips to strace, it’ll give you an ASCII-art ostrich with a speech bubble with an strace tip, like this: (via jade)
  ______________________________________________         ____  
 | You can use -o|COMMAND to redirect strace's  |      |-. .-.|
 | output to COMMAND.  This may be useful       \      (_@)(_@)
 | in cases when there is a redirection          \     .---_  \
 | in place for the traced program.  Don't       _\   /..   \_/
 | forget to escape the pipe character, though, /     |__.-^ /
 | as it is usually interpreted by the shell.   |         }  | 
 \______________________________________________/        |   [