Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What does the following do on Linux?

cat <> FIFO |

Where FIFO is a FIFO created in the current directory.

share|improve this question

migrated from stackoverflow.com Aug 17 '09 at 3:17

This question came from our site for professional and enthusiast programmers.

2 Answers 2

in bash the redirection operator <> causes a file to be opened for both reading and writing (on file descriptor 0 by default, although you can specify another).

see the bash manual page on redirections, section 3.6.10

share|improve this answer

You can't both read and write onto the same pipe.

share|improve this answer
    
I think the final pipe is a typo. Someone should edit. –  Tobu Jun 13 '10 at 20:49

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.