Skip to content

Instantly share code, notes, and snippets.



Last active Feb 27, 2019
What would you like to do?
shell commands collection.
# !! All for CentOS
# clear contents of files
truncate -s 0 test.txt
# clear cache
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.