Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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

Jennifer Esposito
Jennifer Esposito
2,472 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
215,954 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
215,954 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,472 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
215,954 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.