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-07-17 17:00:27Event JSON
{
"id": "3bd86fd593c8173d62032ce2350c01dc9d06768a941ed2fbc6c918e7e4e67381",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1721235627,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/112802898069170547",
"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": "4cfbcea5515d1e062991749cb100df1a685faf4e8462373d2cb683d14fccab490cb424030a36d6e6d3907ff177035446c41634672c5cc27dfa30227ac010dd98"
}