GnuLinux-sorting out Ubuntu system cleanup items

Source: Internet
Author: User

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"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.