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 trialKen Opalach
1,512 PointsHow can I clear the previous lines in the irb console? Instructor seems to be doing it without input.
I am learning numbers methods and I just want to clear the screen to get rid of clutter.
2 Answers
Seth Reece
32,867 PointsCtrl or cmd + l
Sonya Trachsel
13,674 PointsI also sometimes type "exit" and once it's out, it type "clear" :)
Caitlin Otto
1,520 PointsThank you - the other method was not working for me, but this did the trick.
Ken Opalach
1,512 PointsKen Opalach
1,512 PointsThank you, Seth! I hadn't revisited the Ruby course for weeks and I'd forgotten, it seems.