In my time as an engineer at Change.org I have had to become much more familiar with the command line than I ever thought would be neccessary. Adding variables, secrets passcodes, and api keys to my .bash_profile has become incredibly commonplace in my day-to-day, and all of that has required that I get comfortable using my terminal.
However, despite my growing familiarity with the command line, every once in a while I'll find that I've made a massive mistake (Life of a software developer, am I right?). I'll be going about my day and find out that suddenly I've completely screwed up my bash_profile! Maybe it was an invalid char or a mistake in exporting my $PATH
variable, whatever it the mistake may be I find out immediately when I attempt to source my bash_profile and get an error.
"Huh" I think to myself, "I suppose I made a mistake adding that last bash script to my bash_profile, I guess I'll just go back and edit it."
Me: nano ~/.bash_profile
My Terminal: -bash: nano: command not found