Command Line Magic on Nostr: It's tough to read long numbers, especially the ones we see in data sizes these days. ...
It's tough to read long numbers, especially the ones we see in data sizes these days. What can help is to use the -h option that is provided by some of the GNU utilities. For instance, long list files with human readable sizes:
ls -lh
Show filesystem data with human readable sizes:
df -h
Summarize disk use of directories:
du -sh
Sort that output by the human readable sizes:
du -sh | sort -h
Published at
2024-01-16 18:58:40Event JSON
{
"id": "70bf2488a550803aff3663bd57853b2afe6532befad251c2563a26355a0a2f48",
"pubkey": "f5f1075f3fad1755cef1ef9024d53eafd24ea460383319ffb9949f3b6a3cde1a",
"created_at": 1705431520,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/climagic/statuses/111767160149842863",
"activitypub"
]
],
"content": "It's tough to read long numbers, especially the ones we see in data sizes these days. What can help is to use the -h option that is provided by some of the GNU utilities. For instance, long list files with human readable sizes:\nls -lh\n\nShow filesystem data with human readable sizes:\ndf -h\n\nSummarize disk use of directories:\ndu -sh\n\nSort that output by the human readable sizes:\ndu -sh | sort -h",
"sig": "5c441539eb28188b781829e28206c029265b6e757072395fce54128071d47211b37a4fde0202e18ab33f261189e105b9ea99031fa83b3977723eba67ece99c7b"
}