Skip to content

Instantly share code, notes, and snippets.

View huezo's full-sized avatar
😎
Hola Mundo!

HUEZO huezo

😎
Hola Mundo!
View GitHub Profile
@huezo
huezo / clearRAM.sh
Created March 26, 2020 19:20 — forked from pklaus/clearRAM.sh
A Script to Clear Cached RAM on Linux
#!/bin/bash
## Bash Script to clear cached memory on (Ubuntu/Debian) Linux
## By Philipp Klaus
## see <http://blog.philippklaus.de/2011/02/clear-cached-memory-on-ubuntu/>
if [ "$(whoami)" != "root" ]
then
echo "You have to run this script as Superuser!"
exit 1
fi