Sunshine (she/her) ( Sunshine@lemmy.ca ) to Linux@programming.devEnglish · 1 year ago10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comexternal-linkmessage-square18linkfedilinkarrow-up136
arrow-up136external-link10 Advanced Linux Commands You’ve Probably Never Used (Part 3)www.tecmint.comSunshine (she/her) ( Sunshine@lemmy.ca ) to Linux@programming.devEnglish · 1 year agomessage-square18linkfedilink
minus-squarekbal ( kbal@fedia.io ) linkfedilinkarrow-up5·1 year agodu -sh * | sort -h is a thing I type frequently.
minus-squareTwilightKiddy ( TwilightKiddy@programming.dev ) linkfedilinkEnglisharrow-up3·1 year 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-squarecaseyweederman ( caseyweederman@lemmy.ca ) linkfedilinkarrow-up1·1 year agoCheck out duf though
minus-squareTwilightKiddy ( TwilightKiddy@programming.dev ) linkfedilinkEnglisharrow-up2·1 year 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 -his a thing I type frequently.Yea, I love
du -hd 1 | sort -hwhen 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 tmpfsGives me enough information for this purpose and, again, does not require any additional software,
dfis part ofcoreutils.