/*********************************************************************
 * 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 cache

apt_cache="/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.*"

#password:

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

#firefox cache

ffox_cache=".cache/mozilla/firefox/mwad0hks.default/thumbnails/"

#flash cache

flash_cache=".adobe/Flash_Player/AssetCache/H59M8CD3/

#flash cookies

flash_cookies=".macromedia/Flash_Player/*"

#缩略图缓存

png_cache=".cache/thumbnails/*/*.png"

#系统缓存

sys_cache=".cache/*"

#近期使用文档记录

use_record=".local/share/recently-used.xbel"

#循环的日志

log_old="/var/log/*.log.*"

log_old1="/var/log/*/*.gz"

log_old2="/var/log/*.gz"

386

Gnu Linux--Ubuntu系统清理项整理的更多相关文章

  1. linux ubuntu系统下,adb不是内部命令 (如何才能让adb命令可以使用)

    linux ubuntu系统下,adb不是内部命令 原文地址 linux ubuntu系统下,adb不是内部命令 解决方法: 1.sudo gedit ~/.bashrc 2.将下面的两句加到上面打开 ...

  2. Linux Ubuntu系统版本通过Crontab设置定时任务的执行

    Linux Ubuntu系统版本通过Crontab设置定时任务的执行 本文由本人收集网络信息总结而来 特别鸣谢:https://linux.zone/2258 1 crontab 简单介绍以及语法使用 ...

  3. Linux Ubuntu系统之PPP拨号经验分享

    近期,工作需要,我负责开发PPP拨号模块. 说起拨号,算算时间,我已经做过2次了, 暴露年龄了,呵呵. 第一次是刚毕业做的PPOE拨号,给电信做拨号软件,在河北石家庄工作过一段时间,基于windows ...

  4. 给Ubuntu系统清理垃圾

    原文地址:https://blog.csdn.net/levon2018/article/details/81746613 1.清理下载的软件包  不过与你想象的可能有很大的不同,Ubuntu系统在运 ...

  5. 利用workbench对linux/Ubuntu系统中的mysql数据库进行操作

    在上一篇文章中,我分享了在linux中如何安装mysql数据库,但是这只是安装了mysql的服务,并没有图形化管理界面,所以这样子操作起来并没有那么方便,那么现在我们就来实现如何利用在window中安 ...

  6. 搭建Linux(Ubuntu)系统下的Differential Datalog运行环境

    DDlog is a bottom-up, incremental, in-memory, typed Datalog engine. It is well suited for writing pr ...

  7. linux/Ubuntu系统上安装mysql数据库(附图详解)

    在前面的文章中,我已经分享了如何在Ubuntu系统中安装以及搭建java开发环境,那么当我们需要跟数据打交道的时候,那么就需要在ubuntu系统中安装一个数据库了,那么废话就不多说了,我们这里主要是分 ...

  8. Linux(Ubuntu)系统下使用crontab定期执行任务

    安装cron(Ubuntu系统自带) apt-get install cron 开启crontab日志 默认情况下的日志是没有开启的,我们需要找到 /etc/rsyslog.d/50-default. ...

  9. MacBook Pro/Air 下使用 linux ubuntu 系统 波浪号“~”变成其他 符号 的完美解决办法

    打开终端,输入: sudo su - > /sys/module/hid_apple/parameters/iso_layout sudo su -需要root权限,所以使用前请注意已下载roo ...

随机推荐

  1. ASP.NET - List<> 绑定 DropDownList

    代码: //声明泛型 List<category> inof = new List<category>();//二级分类 //声明类使用的对象类 public class ca ...

  2. Eequal sum sets

    Let us consider sets of positive integers less than or equal to n. Note that all elements of a set a ...

  3. Linux-C语言中gettimeofday()函数的使用方法(转载)

    1.简介: 在C语言中可以使用函数gettimeofday()函数来得到时间.它的精度可以达到微妙 2.函数原型: #include<sys/time.h> int gettimeofda ...

  4. uva 1374 快速幂计算

    #include <iostream> #include <cstdio> #include <cmath> #include <cstring> #i ...

  5. uva 1335 - Beijing Guards(二分)

    题目链接:uva 1335 - Beijing Guards 题目大意:有n个人为成一个圈,其中第i个人想要r[i]种不同的礼物,相邻的两个人可以聊天,炫耀自己的礼物.如果两个相邻的人拥有同一种礼物, ...

  6. 关于ListCtrol自绘的技巧

    一.给控件添加排序功能report风格的list控件很多情况下都需要支持排序功能,而且最好支持按不同列进行排序.CListCtrl的类方法SortItems支持排序功能,但是在排序过程中,两个数据真正 ...

  7. Delphi 获取网站验证码的图片

    uses ActiveX,ComObj; procedure TfrmMain.FormCreate(Sender: TObject); begin OleInitialize(nil); end; ...

  8. 在JAVA中开发应用之html5离线应用

     1.环境搭建(Tomcat为例): 在Tomcat中的conf配置文件中web.xml中添加离线配置: <!--HTML5--> <mime-mapping> <ext ...

  9. android电池充电以及电量检测驱动分析

    前段时间比较烦躁,各种不想学习不想工作,于是休息了几天.这几天又下来任务了--调试充电电路和电池电量检测电路,于是又开始工作,顺便把调试过程记录下来. 平台: cpu        飞思卡尔imx6q ...

  10. uva 11475 - Extend to Palindrome(KMP)

    option=com_onlinejudge&Itemid=8&category=506&page=show_problem&problem=2470" ta ...