Last active
April 21, 2016 10:39
-
-
Save materkel/4c70478c921289c011073917cdb6d627 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# empty Trash | |
rm -rf ~/.local/share/Trash/* | |
# output to stdout & file | |
ls | tee file.txt | |
# output to stdout & append to file | |
ls | tee -a file.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment