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

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.