My little script to add my favortite bashrc settings to new bashrc's. Safe your bashrc favortites in your git account. So you can add always add your favortites to any new -bashrc.
create a new file and add some contend for the bashrc file.
touch mycontend.txt
echo "alias up='sudo apt update && sudo apt upgrade'" > mycontend.txt
./add2bashrc.sh mycontend.txt
add all contend from file to the .bashrc
./add2bashrc.sh test.txt
show the .bashrc file
cat $HOME/.bashrc
edit the .bashrc file
sudo nano $HOME/.bashrc
update the .bashrc file
source $HOME/.bashrc
source ~/.bashrc
alias up='sudo apt update && sudo apt upgrade'
unalias up
unalias -a [remove all alias]