From d427bc7f1b6cd9d884d3c79f626ce4aa1b699239 Mon Sep 17 00:00:00 2001 From: Shivam Date: Sat, 1 Apr 2023 18:34:40 +0530 Subject: [PATCH] Check .bashrc for .bash_profile --- 03_1_Verifying_Your_Bitcoin_Setup.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/03_1_Verifying_Your_Bitcoin_Setup.md b/03_1_Verifying_Your_Bitcoin_Setup.md index fe5f49e03..250cf31a1 100644 --- a/03_1_Verifying_Your_Bitcoin_Setup.md +++ b/03_1_Verifying_Your_Bitcoin_Setup.md @@ -15,7 +15,14 @@ alias bd="bitcoind" alias btcinfo='bitcoin-cli getwalletinfo | egrep "\"balance\""; bitcoin-cli getnetworkinfo | egrep "\"version\"|connections"; bitcoin-cli getmininginfo | egrep "\"blocks\"|errors"' EOF ``` -After you enter these aliases you can either `source .bash_profile` to input them or just log out and back in. +After you enter these aliases you can either `source .bash_profile` to input them or just log out and back in. If the latter doesn't work, add a small script at the end of `.bashrc` to load `.bash_profile` by default. +``` +cat >> ~/.bashrc <