Linux partx Command

In this tutorial we learn how to use partx commmand in Linux. partx command is partx - tell the kernel about the presence and numbering of on-disk partitions

What is Linux partx Command?

In this tutorial we learn how to use partx command in Linux. partx command is partx - tell the kernel about the presence and numbering of on-disk partitions

partx Syntax

       partx [-a|-d|-P|-r|-s|-u] [-t type] [-n M:N] [-] disk
       partx [-a|-d|-P|-r|-s|-u] [-t type] partition [disk]

partx Examples

partx Command Manual / Help

We can use man and info command to see the manual page of partx command.

partx command also have --help option to show list of options.

To open man page for partx command we can use command below. To exit man or info page you can press q.

man partx

To open info page for partx command we can use command below.

info partx

To open help page from partx command we can run command below.

partx --help

Linux partx Command Source Code

You can find partx command source code from the folowing repositories:

You can read tutorials of related Linux commands below:

Summary

In this tutorial we learn how to use partx in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.