Skip to content

Instantly share code, notes, and snippets.

@khajavi
Created March 21, 2016 16:19
Show Gist options
  • Save khajavi/4fa785d30d008e735819 to your computer and use it in GitHub Desktop.
Save khajavi/4fa785d30d008e735819 to your computer and use it in GitHub Desktop.
redirect sdtout to file and print it
ls -lR / | tee output.file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment