Linux - Freeing RAM without rebooting — linux, ram, free, bash — Simple command to free RAM on linux without rebooting #!/bin/bash sync; echo 1 > /proc/sys/vm/drop_caches; echo 2 > /proc/sys/vm/drop_ Davide Andreazzini May 11, 2016