Create a Named Pipe
?
S
BashSimple script to create a named pipe
1#!/usr/bin/env bash
2pipe=/tmp/srv-input
3if [ -p "$pipe" ]; then
4 echo "already exists"
5else
6 mkfifo /tmp/srv-input
7 echo "pipe created"
8fiCreated on 2/15/2018
Simple script to create a named pipe
1#!/usr/bin/env bash
2pipe=/tmp/srv-input
3if [ -p "$pipe" ]; then
4 echo "already exists"
5else
6 mkfifo /tmp/srv-input
7 echo "pipe created"
8fiCreated on 2/15/2018