LinuxCommandLibrary

mkfifo

TLDR

Create named pipe

$ mkfifo [pipe_name]
copy
Create with permissions
$ mkfifo -m [600] [pipe_name]
copy
Create multiple pipes
$ mkfifo [pipe1] [pipe2] [pipe3]
copy
Verbose output
$ mkfifo -v [pipe_name]
copy

SYNOPSIS

mkfifo [options] name

DESCRIPTION

mkfifo creates named pipes (FIFOs). Named pipes allow inter-process communication.
The tool creates special files for piping between processes. Data flows first-in-first-out.
mkfifo creates named pipes.

PARAMETERS

NAME

Named pipe name.
-m MODE
Set permissions.
-v
Verbose output.
--help
Display help information.

CAVEATS

Blocking by default. Removed manually. Different from anonymous pipes.

HISTORY

mkfifo is a POSIX utility for creating named pipes for inter-process communication.

SEE ALSO

mknod(1), pipe(7), fifo(7)

Copied to clipboard