> For the complete documentation index, see [llms.txt](https://evansastre.gitbook.io/srvops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://evansastre.gitbook.io/srvops/linux/linux-fundamental/disk-management-1/fdisk.md).

# fdisk

```
#disk partition
#Fdisk [-b <partition size>][-uv][peripheral device code] or fdisk [-l][-b <partition size>][-uv][peripheral device code...] or fdisk [-s < Partition number>]

-b<partition size> Specifies the size of each partition.
-l Lists the partition table status for the specified peripheral.
-s <partition number> Outputs the specified partition size to the standard output in blocks.
-u With the "-l" parameter list, the number of partitions is used instead of the number of cylinders to indicate the starting address of each partition.
-v Displays version information.
```
