歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Gnu Linux--Ubuntu系統清理項整理

Gnu Linux--Ubuntu系統清理項整理

日期:2017/2/28 14:26:12   编辑:Linux教程

/*********************************************************************
* Author : Samson
* Date : 07/11/2014
* Test platform:
* 3.11.0.11-generic #19-Ubuntu
* GNU bash, version 4.2.45
* *******************************************************************/
古有Windows,今有GNU Linux,那麼如何清理GNU Linux下的垃圾呢?為了釋放那可以存片的空間大笑 整理了一下,大概從以下的方面進行著手,若客官有其它的補充的歡迎評論添加指正,以下列出的若沒有以/根目錄開始的,都是從當前用戶的家(home)目錄開始的,切記:

注意:

以下的#號表示注釋:_(

#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_old1="/var/log/*/*.gz"
log_old2="/var/log/*.gz"

Windows 7下硬盤安裝Ubuntu 14.10圖文教程 http://www.linuxidc.com/Linux/2014-10/108430.htm

U盤安裝Ubuntu 14.10 http://www.linuxidc.com/Linux/2014-10/108402.htm

Ubuntu 14.10 正式發布下載 http://www.linuxidc.com/Linux/2014-10/108363.htm

Ubuntu 14.10安裝後要做的6件事 http://www.linuxidc.com/Linux/2014-10/108484.htm

更多Ubuntu相關信息見Ubuntu 專題頁面 http://www.linuxidc.com/topicnews.aspx?tid=2

Copyright © Linux教程網 All Rights Reserved