mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-14 11:48:27 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,7 +5,7 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
---
|
---
|
||||||
# bitcoin-cli
|
# bitcoin-cli
|
||||||
|
|
||||||
> Command-line client to interact with the Bitcoin daemon via RPC calls.
|
> Command-line client to interact with the Bitcoin Core daemon via RPC calls.
|
||||||
> Uses the configuration defined in `bitcoin.conf`.
|
> Uses the configuration defined in `bitcoin.conf`.
|
||||||
> More information: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>.
|
> More information: <https://en.bitcoin.it/wiki/Running_Bitcoin#Command-line_arguments>.
|
||||||
|
|
||||||
@@ -28,3 +28,15 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
- Export the wallet information to a text file:
|
- Export the wallet information to a text file:
|
||||||
|
|
||||||
`bitcoin-cli dumpwallet "{{path/to/file}}"`
|
`bitcoin-cli dumpwallet "{{path/to/file}}"`
|
||||||
|
|
||||||
|
- Get blockchain information:
|
||||||
|
|
||||||
|
`bitcoin-cli getblockchaininfo`
|
||||||
|
|
||||||
|
- Get network information:
|
||||||
|
|
||||||
|
`bitcoin-cli getnetworkinfo`
|
||||||
|
|
||||||
|
- Stop the Bitcoin Core daemon:
|
||||||
|
|
||||||
|
`bitcoin-cli stop`
|
||||||
|
|||||||
@@ -16,6 +16,10 @@ source: https://github.com/tldr-pages/tldr.git
|
|||||||
|
|
||||||
`htop --user {{username}}`
|
`htop --user {{username}}`
|
||||||
|
|
||||||
|
- Display processes hierarchically in a tree view to show the parent-child relationships:
|
||||||
|
|
||||||
|
`htop --tree`
|
||||||
|
|
||||||
- Sort processes by a specified `sort_item` (use `htop --sort help` for available options):
|
- Sort processes by a specified `sort_item` (use `htop --sort help` for available options):
|
||||||
|
|
||||||
`htop --sort {{sort_item}}`
|
`htop --sort {{sort_item}}`
|
||||||
|
|||||||
Reference in New Issue
Block a user