Bash script with non-blocking read

后端 未结 3 1274
说谎
说谎 2021-02-15 16:29

I want to send some data to a root process with a named pipe. Here is the script and it works great:

#!/bin/sh
pipe=/tmp/ntp

if [[ ! -p $pipe ]]; then
    mknod         


        
3条回答
提交回复
热议问题