Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.bashrc created in bash, which was inside another bash. Where is the .bashrc file?
#1
Hi, new guy here, I have been following Joe Collins on Youtube, his content is great. This is not a biggie, I am just curious, expanding my own knowledge of the terminal. 

I created a .bashrc file in a bash shell that was opened up inside another bash shell. I had been typing bash mistakenly thinking that it was reloading the bash shell, it was not, it creates a new instance. The correct command is 'exec bash'. lol Anyway, the .bashrc file saved, but when I typed exit, and returned to the original bash shell, the .bashrc file was different, it was my original file. 

So, where did the .bashrc file go that I edited? It is not in my home director that I can see. Thanks in advance.
Reply


Messages In This Thread
.bashrc created in bash, which was inside another bash. Where is the .bashrc file? - by beleaguered _castle - 10-01-2019, 07:35 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)