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). 😎
Published at
2023-10-19 05:09:20Event JSON
{
"id": "f6be7b457a79f11b19cbeaeb4d25cc1d9848e880074270a9b9173a3f21f72488",
"pubkey": "d5e632fae480fede3fd2de80fe3780947070d20605975c3f7ce1f7243ed4ee3b",
"created_at": 1697692160,
"kind": 1,
"tags": [
[
"r",
"https://xkcd.com/1053/"
]
],
"content": "TIL about the GNU/Linux command lsblk. (I guess I'm one of today's lucky 10,000: https://xkcd.com/1053/ )\n\nI'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).\n\nNow I know that e.g. `lsblk /dev/sda` shows me the size of the entire drive (as well as each partition). 😎",
"sig": "a8f276d6140142460bc053ef8a7b7bc7ebb7c0b75b28489543ef07656a8662c57d8eb8863116bc278fa8ce757575d956c8c763219192adfc417f6e3b878731ba"
}