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.

Ruby Ruby Basics (Retired) Ruby Numbers Different Kinds of Numbers

Jacob Horn
Jacob Horn
9,255 Points

Clear from IRB

How can I clear my screen from within IRB, I'm not sure if this has been explicitly mentioned in a previous video but Jason doesn't seem to be using the clear command to remove the text. Not a necessity just trying to keep things more organized.

Thank you for your time!

5 Answers

Command + K (Mac) or Ctrl + K (Windows) should work for you.

Steve.

Ian Bennett
Ian Bennett
6,056 Points

Ctrl + L for MacOSX or Linux. -Ian

Shane Hassman
Shane Hassman
1,654 Points

Ctrl + L worked for me on windows

ANDY VAN DEN BOS
ANDY VAN DEN BOS
2,330 Points

This was driving me nuts! It really should be in the teachers notes. Thanks for answering this one guys.

Fred Hofstetter
Fred Hofstetter
27,371 Points

Ctrl + L worked for me on Windows as well.