Re: Clearing RAM Caches

2022-08-15 Thread Nicolas George
to...@tuxteam.de (12022-08-15): > echo 1 | sudo dd of=/proc/sys/and-so-on sudo sh -c "echo 1 > /proc/sys/and-so-on" Or, in this particular case: sudo systcl -w and-so-on=1 Regards, -- Nicolas George signature.asc Description: PGP signature

Re: Clearing RAM Caches

2022-08-15 Thread tomas
On Mon, Aug 15, 2022 at 11:13:07AM +0300, Anssi Saari wrote: > Timothy M Butterworth writes: > > > When I run `sudo echo 1 > /proc/sys/vm/drop_caches` I receive the following > > error: bash: /proc/sys/vm/drop_caches: Permission denied > > Unfortunately, it's your current shell and not root who

Re: Clearing RAM Caches

2022-08-15 Thread Anssi Saari
Timothy M Butterworth writes: > When I run `sudo echo 1 > /proc/sys/vm/drop_caches` I receive the following > error: bash: /proc/sys/vm/drop_caches: Permission denied Unfortunately, it's your current shell and not root who does the redirection in this case so no permissions. For a longer expla

Re: Clearing RAM Caches

2022-08-15 Thread Tixy
On Mon, 2022-08-15 at 02:50 -0400, Timothy M Butterworth wrote: > When I run `sudo echo 1 > /proc/sys/vm/drop_caches` I receive the following > error: bash: /proc/sys/vm/drop_caches: Permission denied Because the output redirection occurs as your normal user, all you are doing is executing the 'ec