01-29-2017, 01:53 PM
Unhide files in your home folder (Ctrl+H) add the following to the bottom of the .bashrc file on a new line:
Save and close the file. Then type:
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.
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.
Download your free copy of Linux Lite today.
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)
Jerry Bezencon
Linux Lite Creator
"Do not correct a fool, or he will hate you; correct a wise man and he will appreciate you."
![[Image: X5qGkCg.png]](https://imgur.com/X5qGkCg.png)
![[Image: 0op1GNe.png]](https://i.imgur.com/0op1GNe.png)
![[Image: LgJ2mtP.png]](https://i.imgur.com/LgJ2mtP.png)
![[Image: vLZcFUE.png]](https://imgur.com/vLZcFUE.png)
![[Image: lrUHro3.jpg]](https://i.imgur.com/lrUHro3.jpg)