I have recently started learning UNIX for a week or so and I've played around with the
bashrc files to add in some basic preferences. But today, I couldn't execute several terminal commands and after investigating, I found that the default shell I was in was called "-bash" (not "bash").
I am relatively new to UNIX and it's possible that I unintentionally deleted / modified a file that I shouldn't have and now when I launch a Terminal, I'm in this "-bash" shell. I have since deleted my
bashrc files assuming that these were the cause but I still open in this shell that looks like a typo and I'm not sure how to fix it.
I also tried setting my default shell in the Terminal to Bash will no luck.
I know I could just configure my
bashrc to enter a bash shell automatically at login but I think that would be a pushing this issue under the rug until I realize that there is something else wrong with my terminal configuration.