Sunshine (she/her)@lemmy.ca to LinuxEnglish · 22 days ago10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comexternal-linkmessage-square19linkfedilinkarrow-up144arrow-down16
arrow-up138arrow-down1external-link10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comSunshine (she/her)@lemmy.ca to LinuxEnglish · 22 days agomessage-square19linkfedilink
minus-squareTwilightKiddylinkfedilinkEnglisharrow-up4·22 days agoYea, I love du -hd 1 | sort -h when cleaning up. I absolutely love that I don’t need any extra software to quickly locate whatever takes up space. I can do this on any machine without installing anything extra.
minus-squareTwilightKiddylinkfedilinkEnglisharrow-up2·20 days agoThat’s a completely different tool, though, no? I just do this for determining when I need to clean up: df -hx tmpfs Gives me enough information for this purpose and, again, does not require any additional software, df is part of coreutils.
Yea, I love
du -hd 1 | sort -h
when cleaning up. I absolutely love that I don’t need any extra software to quickly locate whatever takes up space. I can do this on any machine without installing anything extra.Check out duf though
That’s a completely different tool, though, no? I just do this for determining when I need to clean up:
df -hx tmpfs
Gives me enough information for this purpose and, again, does not require any additional software,
df
is part ofcoreutils
.