Questions about the GNU parted (partition editor) CLI utility that is used to manipulate disk partition (and not GParted, GNOME Partition Editor, a graphical tool with similar functionality).
GNU parted is a command line utility for managing partition tables. It uses libparted and provides similar functionality to the graphical tool Gparted.
Parted can be used to write new partition tables and format filesystems when installing new operating systems and also for reorganizing disk usage, copying data and disk imaging.
It can be used interactively (to invoke parted in interactive mode, the user would type parted /dev/sda to begin interactively editing partitions on /dev/sda or in a command line mode suitable for scripting. It supports GUID partition tables, unlike fdisk, and supports at least these filesystems:
ext2/3/4
fat16, fat32
hfs, hfs+, hfsx
linux-swap
NTFS
reiserfs
ufs
btrfs
Fur detailed guidance, see the user manual