user31712: I would like to issue some commands in the Bitcoin-qt console and save their output to a text file (ideally, filter it before saving). Is there a way to do that, similar to how I would use grep and > in a regular Linux terminal?

user7272: You can install bitcoin-cli, and update your bitcoin.conf to enable the RPC server. bitcoin-cli will let you pipe the output from the commands through to any shell commands you want, or redirect to a file.

31712: <p>I would like to issue some commands in the Bitcoin-qt console and save their output to a text file (ideally, filter it before saving). Is there a way to do that, similar to how I would use <code>grep</code> and <code>&gt;</code> in a regular Linux terminal?</p>
 7272: <p>You can install <code>bitcoin-cli</code>, and update your <code>bitcoin.conf</code> to enable the RPC server. <code>bitcoin-cli</code> will let you pipe the output from the commands through to any shell commands you want, or redirect to a file.</p>
