News for hackers. Stuff that matters.
Re:Dirtyfrag: Universal Linux LPE by dundarious on Thursday May 07, 2026 @05:03PM (#48054965)
You can't sudo echo and redirect from the non-sudo shell like that.

    echo 3 | sudo tee /proc/sys/vm/drop_caches
or

    sudo sh -c 'echo 3 > /proc/sys/vm/drop_caches'
Also fixed your typo in /proc...
Re:Dirtyfrag: Universal Linux LPE by throw0101c on Thursday May 07, 2026 @05:21PM (#48055225)
Also try:

     sudo sysctl -w vm.drop_caches=3
Re:Dirtyfrag: Universal Linux LPE by wpollock on Thursday May 07, 2026 @05:32PM (#48055378)
Or more simply, use

   su -c 'echo 3 > /proc/sys/vm/drop_caches'
Re:Dirtyfrag: Universal Linux LPE by seba_dos1 on Thursday May 07, 2026 @05:40PM (#48055476)
echo 3 | sudo tee /proc/sys/vm/drop_caches
Re:Dirtyfrag: Universal Linux LPE by john_strinlai on Thursday May 07, 2026 @05:09PM (#48055060)
thanks. copy pasting from the github via my phone, and should have taken the extra few mins
Re:Dirtyfrag: Universal Linux LPE by dundarious on Thursday May 07, 2026 @06:29PM (#48055968)
No worries, overall a very useful summary comment.