netcat is wonderful, let me count the ways -- is to much let me sum up -- tcp/ip4, udp/ip4, tcp/ip6, udp/ip6, but what I need is stream/unix. I could write it in half a day, but If someone has already scratched this itch...
Asked
Active
Viewed 4,231 times
2 Answers
4
On Ubuntu I find this in the netcat man page:
-U Specifies to use UNIX-domain sockets.
So it seems netcat already can do what you are asking for.

kasperd
- 3,580
-
Note that on many distros there are two versions of
netcat
- the "traditional" variant, and the BSD variant. If this is your case, you want the BSD variant because it comes with significantly more features, one of them being Unix socket capability. – cyqsimon Nov 01 '21 at 09:54
read
command? – jordanm Feb 27 '15 at 05:52