Gnu Linux--ubuntu System Cleanup

Source: Internet
Author: User

/********************************************************************* * Author:samson * date:07/11/2014 * Test PL Atform: * 3.11.0.11-generic #19-ubuntu * GNU bash, version 4.2.45 * **************************** ***************************************/

With Windows and GNU Linux today, how do you clean up the junk under GNU Linux? In order to release the space that can be deposited, I would like to start from the following aspects, if Sir has other additional welcome comments to add, the following list if not in the/root directory starts from the current user's home (home) directory, remember:

Attention:

The following # number indicates the comment: _ (


#user_homedir/bash_history
bash_history= ". Bash_history"
#vim
vim_history= ". Viminfo"
#回收站
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/*/webappsstore.sqlite"
#URL历史
foxurl_history= ". Mozilla/firefox/*/places.sqlite"
#会话恢复: Sessionstore.bak sessionstore.js
Foxseeionstore= ". mozilla/firefox/*/sessionstore.*"
#密码:
Foxpwd= ". Mozilla/firefox/*/signons.sqlite"
#站点首选项:
Foxcontent= ". Mozilla/firefox/*/content-prefs.sqlite"
#表单历史:
foxformhistory= ". Mozilla/firefox/cojs83dh.default/formhistory.sqlite"

#firefox All Trash
. mozilla/firefox/cojs83dh.default/webappsstore.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/*"
#缩略图缓存
Png_catch= ". Cache/thumbnails/*/*.png"
#系统缓存
Sys_catch= ". cache/*"
#最近使用文档记录
Use_record= ". Local/share/recently-used.xbel"
#循环的日志
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.