GnuLinux-sorting out Ubuntu system cleanup items
/*************************************** ******************************
* Author: Samson
* Date: 07/11/2014
* Test platform:
* 3.11.0.11-generic # 19-Ubuntu
* GNU bash, version 4.2.45
**************************************** ****************************/
In ancient times, there were windows and GNU Linux, So how should we clean up the garbage in GNU Linux? In order to release the space that can be stored, we will start from the following aspects, if the list below does not start with the/root directory, they all start with the current user's home directory. Remember:
Note:
Note the following :_(
# User_homedir/bash_history
Bash_history = ". bash_history"
# Vim
Vim_history = ". viminfo"
# Recycle Bin
Trash_dir = ". local/share/Trash /"
# Apt catch
Apt_catch = "/var/cache/apt/archives /*"
# Cookies
Foxcookies_file = ". mozilla/firefox/*/cookies. sqlite"
# Dom store
Foxdom_store = ". mozilla/firefox/*/webdomainstore. sqlite"
# URL history
Foxurl_history = ". mozilla/firefox/*/places. sqlite"
# Session Restoration: sessionstore. bak sessionstore. js
Foxseeionstore = ". mozilla/firefox/*/sessionstore .*"
# Password:
Foxpwd = ". mozilla/firefox/*/signons. sqlite"
# Site preferences:
Foxcontent = ". mozilla/firefox/*/content-prefs.sqlite"
# Form history:
Foxformhistory = ". mozilla/firefox/cojs83dh. default/formhistory. sqlite"
# Firefox all trash
. Mozilla/firefox/cojs83dh. default/webtailstore. sqlite
. Mozilla/firefox/cojs83dh. default/formhistory. sqlite
. Mozilla/firefox/cojs83dh. default/content-prefs.sqlite
. Mozilla/firefox/cojs83dh. default/permissions. sqlite
. Mozilla/firefox/cojs83dh. default/extensions. sqlite
. Mozilla/firefox/cojs83dh. default/healthreport. sqlite
. Mozilla/firefox/cojs83dh. default/addons. sqlite
. Mozilla/firefox/cojs83dh. default/signons. sqlite
. Mozilla/firefox/cojs83dh. default/cookies. sqlite
. Mozilla/firefox/cojs83dh. default/places. sqlite
# Flash catch
Flash_catch = ". adobe/Flash_Player/AssetCache/H59M8CD3/
# Flash cookies
Flash_cookies = ". macromedia/Flash_Player /*"
# Thumbnail Cache
Png_catch = ". cache/thumbnails/*. png"
# System cache
Sys_catch = ". cache /*"
# Recent use documentation
Use_record = ". local/share/recently-used.xbel"
# Cyclic logs
Log_old = "/var/log/*. log .*"
Log_old3 = "/var/log/*. log .*"
Log_old1 = "/var/log/*. gz"
Log_old2 = "/var/log/*. old"