GNU Parted – a partition manipulation program
parted [options] [device [command [options…]…]]
parted is a disk partitioning and partition resizing program. It allows you to create, destroy, resize, move and copy ext2, ext3, linux-swap, FAT, FAT32, and reiserfs partitions. It can create, resize, and move Macintosh
HFS partitions, as well as detect jfs, ntfs, ufs, and xfs partitions. It is useful for creating space for new operating systems, reorganising disk usage, and copying data to new hard disks.
This manual page documents parted briefly. Complete documentation is distributed with the package in GNU Info format; see near the bottom.
displays a help message
prompts for user intervention
lists partition layout on all block devices
displays machine parseable output
never prompts for user intervention
displays the version