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

Trevor Waddell
Trevor Waddell
17,643 Points

When I start my terminal, it says the following: -bash: /etc/profile.d/sm.sh: No such file or directory

When I start my terminal, it says the following:

-bash: /etc/profile.d/sm.sh: No such file or directory -bash: /etc/profile.d/rvm.sh: No such file or directory

Does anyone know what this means or how to stop it from running/ looking for these directories?

Thomas Perkins
Thomas Perkins
496 Points

What are you typing into the terminal?

Trevor Waddell
Trevor Waddell
17,643 Points

Hi, Thomas,

The statements about come up as soon as a start my terminal. I don't have to type anything

1 Answer

Kathryn Gilbert
Kathryn Gilbert
5,122 Points

Have you tried typing "clear" or cd -ing into a new directory? You can also try changing your prompt variable by typing "PS1="what you want your prompt to be here"

I think cd-ing is your best bet though. try cd ~ to go home or cd directoryNameHere