Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Development Tools

alborz
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
alborz
Full Stack JavaScript Techdegree Graduate 30,885 Points

Immediately after opening terminal, I see an output about there being "No such file or directory"

Hi!

Immediately after opening terminal, I see this line of output following the last login timestamp:

Last login: Mon Dec 15 01:42:57 on ttys000 -bash: /Users/alborz/.profileexport: No such file or directory

I'm not sure what could be causing this...

Thanks!

1 Answer

Hi.

If you check the files in your home directory is there any files with starting with a period ( . ) ?

Command in Terminal:

cd ~/

then:

ls -la (list all files) .

You have to find out which of the configuration profiles has this file written in the file.

There are a few files to check.

You should start with the lowest and work your way up ( these files have a importance levels)

  1. ~/.profile
  2. ~/.bash_profile ( the error line indicates this file is searching for that file)
  3. ~/.bashrc ....

There is the root profile but first check for these files. If you find the file: open it in terminal with: sudo nano "filename" -> then delete the line or entry for this profile file.