Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's a very simple system tool that clicked on about 50 simultaneous lightbulbs in my brain after only 10 minutes of playing with it: mkfifo


The man page for it is awful, 0 explanation of what it actually does.

It allows you to create pipes as files! So you can do:

`echo 'hello world' > mypipe` on one terminal and `cat < mypipe` on another!

Very neat, I'm sure I'll find uses for it in the future.


I learned about it through a plugin for irssi, which lets you have a list of users in an IRC channel in a tmux window partition.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: