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 {{[-a|--all]}}

sudo fstrim {{/}}

sudo fstrim {{[-v|--verbose]}} {{/}}