/clean-memory

Shell script code designed to streamline system performance by clearing unused temporary memory and system cache. The script effectively frees up RAM by removing unnecessary data stored in memory and cache, helping to enhance overall system efficiency and responsiveness.

Primary LanguageShellApache License 2.0Apache-2.0

Clean Memory

instalation

download the package

download or download using wget

wget https://github.com/gabriel-logan/clean-memory/raw/main/package/clean-memory.deb

then:

dpkg -i clean-memory.deb

now you can use the package in the terminal

clean_memory.sh

################################################################################

if you receive the following message when trying to install the package

root@debian:/home/logan/Desktop# dpkg -i clean-memory.deb
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 2 expected programs not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin

run the following command

export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin

and try to install the package again

dpkg -i clean-memory.deb

now you can use the package in the terminal

clean_memory.sh

NOTE

You need to run as a super user

By Gabriel Logan