Sunshine (she/her)@lemmy.ca to Linux@programming.devEnglish · 20 days ago10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comexternal-linkmessage-square19fedilinkarrow-up144arrow-down16
arrow-up138arrow-down1external-link10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comSunshine (she/her)@lemmy.ca to Linux@programming.devEnglish · 20 days agomessage-square19fedilink
minus-squarekbal@fedia.iolinkfedilinkarrow-up5·20 days agodu -sh * | sort -h is a thing I type frequently.
minus-squareTwilightKiddy@programming.devcakelinkfedilinkEnglisharrow-up4·19 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-squareTwilightKiddy@programming.devcakelinkfedilinkEnglisharrow-up2·18 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.
du -sh * | sort -h
is a thing I type frequently.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
.