I want to use a named pipe as input for a command line utility I'm writing. I know I can echo "all work and no play" > ./namedpipe
to write once to the named pipe, but is there a way to do that interactively? That is, as if I'm typing into the stdin of a program or using netcat.
Asked
Active
Viewed 637 times
cat > namedpipe
? – Jeff Schaller Oct 19 '15 at 21:33echo
instead ofcat
without realizing. It works. – sudo Oct 19 '15 at 21:34