Every time I open Terminal this is on there like 50 times.
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
-bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory
I have no idea what I'm doing, I was just trying to get my Terminal to start with a folder and I found this online:
echo "cd "`pwd` >> ~/.bash_profile
I used that when I was in the folder I wanted to start with on Terminal and it didn't work so being dumb I did it like 50 times so my Terminal always starts with a bunch of -bash: cd: /Users/Dakota/Documents/School/Spring: No such file or directory.
It's ugly and I need it gone.
cd wherever_you_are
to the end of your bash_profile, which controls your bash settings. Fix it easily withsudo nano ~/.bash_profile
and delete that line and save. If you wanna make a folder by terminal usemkdir myfolder
– Script Kitty Apr 05 '17 at 19:10sudo
. – fd0 Apr 05 '17 at 19:13