Y
Hacker News
new
|
ask
|
show
|
jobs
by
0xEFF
2668 days ago
echo ls | bash
2 comments
yjftsjthsd-h
2668 days ago
It even seems to work with named pipes, although in my first test it exited after the first command (I suspect I'm accidentally sending a EOF when I echo the command in).
mkfifo testpipe1 <testpipe1 bash # in separate window echo ls > testpipe1
link
earenndil
2668 days ago
If you have echo and a pipe, then you're most likely already in a shell, no?
link