mirror of
https://github.com/Matir/skel.git
synced 2026-05-25 21:19:09 -07:00
Add ability to drop cache for swapping.
This commit is contained in:
@@ -30,3 +30,6 @@ alias chrome-for-burp="/usr/bin/google-chrome --ignore-certificate-errors --user
|
|||||||
|
|
||||||
# Useful directory utilities
|
# Useful directory utilities
|
||||||
alias dircount="for d in * ; do find \$d -type d | wc -l | tr -d '\n' ; echo ' ' \$d ; done | sort -n"
|
alias dircount="for d in * ; do find \$d -type d | wc -l | tr -d '\n' ; echo ' ' \$d ; done | sort -n"
|
||||||
|
|
||||||
|
# Drop caches for swap issues
|
||||||
|
alias drop_caches="echo 3 | sudo /usr/bin/tee /proc/sys/vm/drop_caches"
|
||||||
|
|||||||
Reference in New Issue
Block a user