linux memory cache clear
# clear pagecache only.
sync; echo 1 > /proc/sys/vm/drop_caches
# clear dentries and inodes.
sync; echo 2 > /proc/sys/vm/drop_caches
# clear pagecache, dentries and inodes.
sync; echo 3 > /proc/sys/vm/drop_caches sudo sync; echo 3 > /proc/sys/vm/drop_caches
Also in Shell:
- how to rename the directory in terminal
- run python program from command line
- bash grep and sort
- rustup
- install node js ubuntu
- pip3 not found
- how to pip install in folder
- raspberry shell get datetime now
- install packages with pip from python
- crontab only working days
- how to install node fetch
- install onnxmltools
- mate on ubuntu 20.04
- dos dir filename only
- install ifconfig on ubuntu
- list changed files git
- vi replace all
- ailure [INSTALL_FAILED_USER_RESTRICTED: Install canceled by user]
- bash write
- bash command to find the number of files in a directory
- how to tar linux
- exit from jshell
- fatal: refusing to merge unrelated histories
- bash compare two strings