I created a new FIFO using the mkfifo command. I have a text file f.txt.
I want to write the text file into my FIFO. How? Is there a unix command for that?
I created a new FIFO using the mkfifo command. I have a text file
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can use
cat:You’ll see that it hangs, because you also need a reader process, as
cat.You can also start first the reader process and then the writer one.