Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Aug 17 '09 at 3:17

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

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


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