This is an old revision of the document!
sync && echo 3 > /proc/sys/vm/drop_caches
If you use sudo:
su -c "sync && echo 3 > /proc/sys/vm/drop_caches"