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-04-15 17:00:24Event JSON
{
"id": "28678dd9247e23ce78374545b885516185a49350f7b35a63a39059504783b37f",
"pubkey": "49792b0c3e803bb97f4005f83a8d6c09a58c6ea7f04e1ab19d149f9fabbbcee3",
"created_at": 1713200424,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.bsd.cafe/users/fbfortune/statuses/112276303031737813",
"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": "96eef383c96e9017dbea4b7571ac310fd2c223f051cf914bdb83793b6ad6598e9389b2d3ebb09b82affdc2eb36728111af724100a6ba358fcf25763fec3434c4"
}