People may run sudo echo 3 > /proc/sys/vm/drop_caches as the readme tells but it will fail, since the shell first open /proc/sys/vm/drop_caches before sudo is run. This confuses users.
Propose to add a problem-free command like echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/null in the README.md. Be aware that not all distros have sudo.
People may run
sudo echo 3 > /proc/sys/vm/drop_cachesas the readme tells but it will fail, since the shell first open/proc/sys/vm/drop_cachesbefore sudo is run. This confuses users.Propose to add a problem-free command like
echo 3 | sudo tee /proc/sys/vm/drop_caches > /dev/nullin the README.md. Be aware that not all distros havesudo.