Pimp the command line
In this section, we are going to do instructions for changing the prompt "$" symbol to the Bitcoin symbol "₿" and color and install bash completion scripts for Bitcoin Core and Lightning projects command CLI instructions.
Difficulty: Easy
Command prompt
You can prettify your command prompt for each user by enabling color output and setting a custom prompt
With user
admin
, open and edit.bashrc
as shown below. Save and exit
Uncomment line 46
Comment the existing line 60 (backup)
Add the next line (in line 61)
Insert the following at the end of the file
Apply changes
Bash completion
As user
admin
, install bash completion scripts for Bitcoin Core and LND. You then can complete partial commands by pressing the Tab key (e.g. bitcoin-cli getblockch [Tab] → bitcoin-cli getblockchaininfo)
Bash completion will be enabled after your next login
Last updated