clear cache on ram ubuntu 20.04 code example Example: clear ram cache ubuntu sync && echo 3 | sudo tee /proc/sys/vm/drop_caches