[GLLUG] Mounting All Partitions!

Jonathan Billings billings at negate.org
Mon Feb 13 20:02:13 EST 2012


On Feb 13, 2012, at 5:16 PM, Barry Tigner wrote:
> If you have a lot of "dot" files, which are files that start with a "."
> and you want to remove them, do not take any shortcuts such as rm *.* or
> you may wipe your entire file system.

Assuming 'rm' isn't aliased to something weird or you haven't enabled bash's 'dotglob', running 'rm *.*' won't delete ANY files that start with a '.'.  Try running 'echo *.*' to see what your shell expands it to.  Also, the most disk use is in directories that start with a dot, rather than files, and an unadorned 'rm' won't delete a directory.  For example, your ~/.mozilla/firefox directory contains all your firefox settings and cache.  Other browsers (and other software) often store things in ~/.cache/.  

--
Jonathan Billings <billings at negate.org>




More information about the linux-user mailing list