Linux pivot_root Command

In this tutorial we learn how to use pivot_root commmand in Linux. pivot_root command is pivot_root - change the root filesystem

What is Linux pivot_root Command?

In this tutorial we learn how to use pivot_root command in Linux. pivot_root command is pivot_root - change the root filesystem

pivot_root Syntax

       pivot_root new_root put_old

pivot_root Examples

pivot_root Command Manual / Help

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

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

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

man pivot_root

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

info pivot_root

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

pivot_root --help

Linux pivot_root Command Source Code

You can find pivot_root 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 pivot_root in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.