Skip to content

Instantly share code, notes, and snippets.

@dimaskiddo
Created June 12, 2020 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dimaskiddo/5ba72c4c1e22c47ce42dc85aa953eb02 to your computer and use it in GitHub Desktop.
Save dimaskiddo/5ba72c4c1e22c47ce42dc85aa953eb02 to your computer and use it in GitHub Desktop.
Linux Scripts Cheat Sheet
#!/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