resize2fs: ext2/ext3/ext4 file system resizer
resize2fs [options] DEVICE [SIZE]
Options you will use
-p- Print a progress bar.
Examples
$ sudo resize2fs /dev/nvme0n1p1grow the root filesystem into the grown partition
Gotchas
- Without SIZE it grows the file system to fill the partition or logical volume. ext4 can grow while mounted.
Try resize2fs in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.