SHARE
TWEET

clean.sh

tamanmerah Mar 10th, 2019 (edited) 159 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #/bin/bash
  2. # cleaning google earth..
  3. # day milovich
  4.  history -c
  5.  rm -f ~/.bash_history
  6.  rm -rf /var/log/*
  7.  rm -rf /home/*/.local/share/Trash/*/** &> /dev/null
  8.  rm -rf /root/.local/share/Trash/*/** &> /dev/null
  9.  echo 1 > /proc/sys/vm/drop_caches
  10.  echo 2 > /proc/sys/vm/drop_caches
  11.  echo 3 > /proc/sys/vm/drop_caches
  12.  swapoff -a
  13.  swapon -a
  14.  free -m
  15.  df -h
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top