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