spanskiblog/content/posts/named_pipes.md

18 lines
382 B
Markdown

+++
date="2022-12-24"
author="spanskiduh"
title="named_pipes"
description="click to read named_pipes"
+++
# Named pipes
They are very useful for transmiting data of one linux process to another.
### Creation of named pipe
- `mkfifo my_pipe`
### Sending and recieving data
- `echo "Hello my friend!" > my_pipe` ~ sending data to pipe
- `tail -f my_pipe` ~ reading data from pipe