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 trialEric Cho
2,151 PointsHow do you stop the code when you use "less" in the console. It states "END" and doesn't let me exit.
Please advise. thank-you in advance.
2 Answers
Steven Parker
231,269 PointsAnytime it pauses (including at the end), hitting the letter "q" (for "quit") should cause "less" to exit. Also, hitting the letter "h" should give you a list of all the key commands it recognizes and what they do.
If that doesn't work, Ctrl-C will stop most things no matter what state they are in.
Eric Cho
2,151 PointsThanks Steven. That worked.
Eric Cho
2,151 PointsEric Cho
2,151 PointsBoth of those don't work for me. It doesn't respond to anything but typing in letters after log files: