FreeBSD Fortune on Nostr: The output of "zfs list" can be sorted by a specific column using -s. To sort the ...
The output of "zfs list" can be sorted by a specific column using -s. To
sort the datasets by the "used" column in ascending order, run this command:
zfs list -s used
To sort in descending order instead, use -S:
zfs list -S used
-- Benedict Reuschling <bcr@FreeBSD.org>
Published at
2024-11-09 18:00:17Event JSON
{
"id": "f44a0d24864a6741f64ec51ab483e248c0e4dab3898300bb0954092c6dda4270",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1731175217,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/113454299042615811",
"activitypub"
]
],
"content": "The output of \"zfs list\" can be sorted by a specific column using -s. To\nsort the datasets by the \"used\" column in ascending order, run this command:\n\nzfs list -s used\n\nTo sort in descending order instead, use -S:\n\nzfs list -S used\n\n\t\t-- Benedict Reuschling \u003cbcr@FreeBSD.org\u003e",
"sig": "b9fc8bc5e95e05220716850f6b2c5d6f289f71657baa3129684f2be6d804a3892ecfdd3b1a6a9744358f20ebcf268ef8eb1499e0d952259e318d2faf89597a71"
}