this post was submitted on 07 Mar 2025
430 points (96.5% liked)

Linux

52005 readers
893 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

And that's all, I'm happy since I was out of space.

(page 3) 32 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 week ago

Looks like a worse looking baobab clone

[–] [email protected] 7 points 1 week ago (3 children)
[–] [email protected] 3 points 1 week ago
load more comments (2 replies)
[–] [email protected] 7 points 1 week ago

I love Filelight. Whoever came up with it is brilliant.

[–] [email protected] 65 points 1 week ago* (last edited 1 week ago) (3 children)

Clean all the cache downloads of Arch Linux Packages

pacman -Scc

Remove unused docker networks and images

docker system prune --all

Cleanup untracked git files that might be in .gitignore such as build and out directories (beware of losing data, use "n" instead of "f" for a dry run)

git clean -xdf

Do an aggresive pruning of objects in git (MIGHT BE VERY SLOW)

git gc --aggressive --prune=now

Remove old journal logs, keeping last seven days

journalctl --vacuum-time 7days

Remove pip cache

pip cache purge

[–] [email protected] 14 points 1 week ago

Remove unused conda packages and caches:

conda clean --all

If you are a Python developer, this can easily be several or tens of GB.

load more comments (2 replies)
[–] [email protected] 2 points 1 week ago (1 children)

Does Linux have spacesniffer?

[–] [email protected] 3 points 1 week ago

No, and I miss it. Space sniffer was so good.

[–] [email protected] 7 points 1 week ago (1 children)

This is why I've set up a ramdisk on ~/.cache and ~/Downloads -- "free" automatic cleanup plus a tad more of performance because why not.

[–] [email protected] 2 points 1 week ago (1 children)

I might do that just to force myself to organize and move files out of downloads.

[–] [email protected] 2 points 1 week ago (1 children)

I don't think you'll need to do that, unless you are planning to download files that are over 4Gb long and/or you are using a potato that has less than 1 Gb of ram.

t. I've set my entire ram into a ramdisk, and the performance actually IMPROVED compared to not setting a ramdisk at all.

load more comments (1 replies)
[–] [email protected] -2 points 1 week ago (9 children)

That's when you know it's time for a fresh install

[–] [email protected] 4 points 1 week ago

Nah, in a rolling distro it's normal, they were mostly unused stuff hide in /home, and useless yay pkg.

load more comments (8 replies)
[–] [email protected] 24 points 1 week ago (3 children)

I'm more of a baobab person myself 😋

load more comments (3 replies)
[–] [email protected] 4 points 1 week ago (2 children)

I'm here to promote fclones. I've used it twice and recovered over a terabyte on my NAS the last time I used it. I'm not affiliated. Hyperspace for Mac is similar (but different) and I haven't used it, but it was developed by my favorite nerd podcast host. I'm planning to test it out eventually, but the latest fclones run was only about a month ago, so it doesn't make sense to try it yet.

load more comments (2 replies)
[–] [email protected] 6 points 1 week ago (5 children)

Is this a Linux version of windirstat?

[–] [email protected] 7 points 1 week ago

There's also QDirStat which is like KDirStat but without KDE dependencies.

[–] [email protected] 6 points 1 week ago (1 children)

There's a more direct version of that, I guess from KDE, called KdirStat.

I hadn't heard of the one in the op. But if I had to guess, it looks like it's a different take on the same idea.

[–] [email protected] 7 points 1 week ago* (last edited 1 week ago) (1 children)

Omfg.

I was trying to remember the name of kdirstat ladt night when I stumbled across filelight and made use of that instead.

And now there's a thread on this exact topic. Y'all need to quit it with all this Truman Show nonsense, Baader-Meinhof alone isn't enough to explain how frequently shit like this happens. XD

[–] [email protected] 8 points 1 week ago (1 children)

Y'all need to quit it with all this Truman Show nonsense

Oh shit, he's onto us!

[–] [email protected] 7 points 1 week ago (8 children)
load more comments (8 replies)
load more comments (3 replies)
[–] [email protected] 37 points 1 week ago (2 children)

I freed my entire disk by removing the French language pack

[–] [email protected] 18 points 1 week ago (7 children)

I recommend it too. It's simple as doing:

sudo rm -rf /

Where "-rf" obviously stands for "remove french".

[–] [email protected] 20 points 1 week ago (1 children)

(This is a joke don’t do this or you’ll ruin your computer)

load more comments (1 replies)
load more comments (6 replies)
[–] [email protected] 11 points 1 week ago* (last edited 1 week ago)

For the curious, rm -fr /

[–] [email protected] 104 points 1 week ago (7 children)

I freed 50gb by running 'docker system prune'...

[–] [email protected] 3 points 1 week ago

Oh, that reminds me,...

[–] [email protected] 9 points 1 week ago

I once freed 28 GB using find ~/Downloads/ -mtime +30 -delete

[–] [email protected] 6 points 1 week ago

paccache -r got me about the same

[–] [email protected] 35 points 1 week ago (1 children)

last year I had over 1TB freed by docker system prune on a dev VM. If you're building images often, that's a mandatory command to run once in a while.

[–] [email protected] 13 points 1 week ago (2 children)

I create a cron job with something like: docker system prune -af --filter="until=XXh" where XX is on the order of a few days.

[–] [email protected] 4 points 1 week ago

ah, this filter by timestamp might be very useful to me, thanks

load more comments (1 replies)
load more comments (3 replies)
load more comments
view more: ‹ prev next ›