Created
June 12, 2020 15:40
-
-
Save dimaskiddo/5ba72c4c1e22c47ce42dc85aa953eb02 to your computer and use it in GitHub Desktop.
Linux Scripts Cheat Sheet
This file contains 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 | |
# Linux Memory Flusher Script | |
# Created By Dimas Restu Hidayanto (dimas.restu@student.upi.edu) | |
echo "Flushing memory..." | |
sync; echo 1 > /proc/sys/vm/drop_caches | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment