jeltsch's blog

System reinstall, kmail, kopete and other application preferences/settings

I deleted my root directory in an attempt to delete a file that was starting with the character "/". A crash of konqueror had left such impossible file in some subdirectory of /tmp. As root I played with some regular expresssions to delete it, but only managed to delete my root directory. Not completely (as the excessive disk activity made my soon realize my mistake), but sufficiently beyond repair.

How much disk space do I have left (disk usage du and disk free df)

To see how much disk space you have left use df -h The h flag is for "human readable". Otherwise you get the size in 1k blocks. To see how much space a directory is using type du -hs h is again for human readable and s means summary - meaning only the total size is given. Without s you get recursively the size of every file below the directory.

Pages