#!/bin/bash echo ":: Flushing file cache to disk" sync;sync echo ":: Erasing file cache" echo 3>/proc/sys/vm/drop_caches&>/dev/null