Questions tagged [stdin]
32 questions
0
votes
1 answer
Linux does STDOUT | STDIN piping write data to disk?
I was planning on passing encryption keys to zfs load-key pool/set through stdin. The keys passed are generated by another program in HEX format and dataset is configured to have keylocation=prompt, keyformat=hex so the key can be passed through…
0
votes
2 answers
Run a multiline bash script piped from stdin
I'm looking for a simple way to include multi-line scripts inline in documentation to make it transparent what each step does.
This works
echo "echo 1234" | bash
So does this
echo 'for N in 1 2 3; do echo $N; done' | bash
However, I'd like to use…

Nanzikambe
- 265
- 3
- 8