ImmutableManty on Nostr: TIL about the GNU/Linux command lsblk. (I guess I'm one of today's lucky 10,000: ...
TIL about the GNU/Linux command lsblk. (I guess I'm one of today's lucky 10,000: https://xkcd.com/1053/ )
I've used `df -h` for years to get size (and usage data) for mounted partitions. But I didn't know an easy way to check the size of the entire drive, so I usually just opened up GParted (which is overkill, lol).
Now I know that e.g. `lsblk /dev/sda` shows me the size of the entire drive (as well as each partition). 😎
I've used `df -h` for years to get size (and usage data) for mounted partitions. But I didn't know an easy way to check the size of the entire drive, so I usually just opened up GParted (which is overkill, lol).
Now I know that e.g. `lsblk /dev/sda` shows me the size of the entire drive (as well as each partition). 😎