Linux mknod Command

In this tutorial we learn how to use mknod commmand in Linux. mknod command is mknod - make block or character special files mknod [OPTION]… NAME TYPE [MAJOR MINOR]

What is Linux mknod Command?

In this tutorial we learn how to use mknod command in Linux. mknod command is mknod - make block or character special files mknod [OPTION]… NAME TYPE [MAJOR MINOR]

mknod Syntax

       mknod [OPTION]... NAME TYPE [MAJOR MINOR]

mknod Examples

mknod Command Manual / Help

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

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

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

man mknod

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

info mknod

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

mknod --help

Linux mknod Command Source Code

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