fstrim Command Examples

Discard unused blocks on a mounted filesystem. Only supported by flash memory devices such as SSDs and microSD cards. More information: https://manned.org/fstrim.

sudo fstrim --all

sudo fstrim {{/}}

sudo fstrim --verbose {{/}}