termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Resize the filesystem to a size of 40G, displaying a progress bar
resize2fs
Resize an ext2, ext3 or ext4 filesystem.
Does not resize the underlying partition. The filesystem may have to be unmounted first, read the man page for more details.
More information: <https://manned.org/resize2fs>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
resize2fs -p {{/dev/sdXN}} {{40G}}
click the source code to copy
install
resize2fs
on any operating system with
command-not-found.com