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

JavaScript JavaScript Basics (Retired) Working With Numbers Numbers and Strings

Jennifer Esposito
Jennifer Esposito
2,473 Points

Troubleshooting the console

When I open the console, it says treehouse:~/workspace$. I can't delete it, and I'm unable to use the parseFloat function with it there. Does anyone know how to make it go away?

2 Answers

Steven Parker
Steven Parker
229,785 Points

You can click the "X" on the upper right of the console pane to close it, or you can select "Hide Console" from the "view" menu.

But being open should not prevent any of the code from running. I typically leave the console open at all times and have no problems.

If you need help with a specific workspace issue, you can make a snapshot of your workspace and post the link to it here.

Steven Parker
Steven Parker
229,785 Points

You can change the command prompt by setting the "PS1" environment variable, for example:

PS1='Ready> '  

You can eliminate it completely with the command "unset PS1", but this is not recommended as you will no longer get any feedback when a command has completed.

Jennifer Esposito
Jennifer Esposito
2,473 Points

I know how to open and close the console. I just don't know how to make "treehouse:~/workspace$" go away. :-/

Steven Parker
Steven Parker
229,785 Points

That's the command prompt. It lets you know that the previous operation has completed and that the system is ready for a new command. I wouldn't think you'd want to eliminate it, but you might want to change what it says. I provided a comment to my answer with an example.

But I cannot imagine how it could interfere with anything in your program. I strongly suspect your actual issue is related to something else.