$ echo 3 > /proc/sys/vm/drop_caches
bash: /proc/sys/vm/drop_caches: Permission denied
Tried with the system password. But still failing.
Execute the shell as root:
sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
Or redirect the input to a process that will write to file as root:
echo 3 | sudo tee /proc/sys/vm/drop_caches
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With