Randall A Sindlinger on 19 Dec 2010 21:40:53 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Named pipes


On Sun, Dec 19, 2010 at 08:54:55PM -0500, Eric at Lucii.org wrote:
> 
> 
> srw-rw-rw-  1 root root    0 2010-12-19 11:32 program-named-pipe
> 
> Sometimes it appears in the ls output as program-named-pipe=
> (with a trailing "=".)  What kind of pipe is identified by a leading "s" instead
> of "p"?

The trailing '=' is from the classify flag (-F) of ls.  Some login shells 
alias ls to include the -F flag by default.  You're probably more used to 
seeing -F append things like '/' for a directory.

> In any case, I cannot write to that program-named-pipe.
> If I try like this:
> 
> echo "test" > program-named-pipe

As a socket, you should be able to see it with netstat.  You should be 
able to write to it via telnet to the port on localhost, assuming that 
netstat shows it's listening there and your firewall rules allow it.

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug