Questions tagged [mkfifo]
The mkfifo tag has no usage guidance.
3
questions
5
votes
1
answer
10k
views
What is the purpose of using a FIFO vs a temporary file or a pipe?
From APUE
FIFOs can be used to duplicate an output stream in a series of shell
commands. This prevents writing the data to an intermediate disk
file (similar to using pipes to avoid intermediate ...
5
votes
1
answer
4k
views
How to check for presence of named pipe on the file system [duplicate]
I tried using the -f flag to test if a named pipe is present
if [[ ! -f "$fifo" ]]; then
echo 'There should be a fifo.lock file in the dir.' > /dev/stderr
return 0;
fi
this check does not ...
0
votes
0
answers
36
views
Strange incongruent output for both nc and fifo
I have this exact code:
#!/bin/bash
gtimeout(){
if type -f gtimeout &> /dev/null; then
command gtimeout "$@"
else
timeout "$@"
fi
}
export -f gtimeout;
...