4 ms·
echo ls | bash
by 0xEFF 8y ago
echo ls | bash
- earenndil 8y agoIf you have echo and a pipe, then you're most likely already in a shell, no?
- yjftsjthsd-h 8y agoIt 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