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.

aleksi
5,392 PointsClear irb screen
How do you clear interactive ruby terminal screen without exiting irb and then typing 'clear'?
edit: How do I do that in Treehouse's workspaces?
2 Answers

aleksi
5,392 PointsThank you for your answer, it worked! :) I tested command + l on mac, that didn't work tho. That's why this simple question.

Sandra Hogan
8,656 PointsMy Macbook has a control button too...right next to the function key on left...did you try that by any chance? I don't use my Mac often so not sure if it works or not.

Steve Shaw
898 PointsYes, on the Mac there is a control key underneath the shift key. So Control + L will work just fine.
Sandra Hogan
8,656 PointsSandra Hogan
8,656 PointsCTRL+L (holding control key and the letter L) will clear your screen without exiting irb