Created
February 12, 2016 22:45
-
-
Save jfrost/da3a062a53a9e4399efb to your computer and use it in GitHub Desktop.
How to truncate a file with sudo
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
sudo tee file_i_want_to_truncate < /dev/null |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment