Why Nostr? What is Njump?
2023-02-27 00:22:39

Semi-Normal on Nostr: So I'm quite sure this has to be a dumb question... but I can't find an answer. How ...

So I'm quite sure this has to be a dumb question... but I can't find an answer.

How do I use the output of a bitcoin-cli function as an input for a second bitcoin-cli function from the Linux command line?

I.E. bitcoin-cli getblock bitcoin-cli getblockhash 0

Thinking I probably need pipes somehow.. but can't get it to work.
Author Public Key
npub1h3z9uaydyjrr5rwaktzt3lned3ykztktda9lv0n7n2tu9rt27neqt6z7df