LINUX LITE 7.4 RC1 RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clear Memory
#2
Unhide files in your home folder (Ctrl+H) add the following to the bottom of the .bashrc file on a new line:

Code:
alias clearmem="sudo sh -c 'echo 3 >/proc/sys/vm/drop_caches'"

Save and close the file. Then type:

Code:
source .bashrc

to activate the new alias.

Then every time you want to clear the memory, just type clearmem in a terminal. Lite Tweaks in 3.x does not work in series 2.x The above is a workaround.
Reply


Messages In This Thread
Clear Memory - by bfb - 01-29-2017, 09:40 AM
Re: Clear Memory - by Valtam - 01-29-2017, 01:53 PM
Re: Clear Memory - by bitsnpcs - 01-29-2017, 02:18 PM
Re: Clear Memory - by Valtam - 01-29-2017, 02:21 PM
Re: Clear Memory - by bfb - 01-30-2017, 04:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)