Invoking Parted (Parted User’s Manual)

From Get docs

2.3 Command Line Options

When invoked from the command line, Parted supports the following syntax:

# parted [option] device [command [argument]]

Available options and commands follow. For detailed explanations of the use of Parted commands, see Command explanations. Options begin with a hyphen, commands do not:




display a help message


never prompt the user
-a alignment-type

--align alignment-type

Set alignment for newly created partitions, valid alignment types are: none, cylinder, minimal and optimal.


display the version