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

Development Tools Console Foundations Getting Started with the Console Reading Files

Najib Nazar
Najib Nazar
869 Points

less hello.txt

Hi when I type less hello.txt. it does a different thing than shown in the video. At the end of the file it says: Now here is the last line of the file! hello.txt (END) (highlighted)

The only way to get out of this is to Ctrl+Z.

Daniel Stangaciu
Daniel Stangaciu
6,221 Points

you just have to press q and you will exit the command and start a new command prompt

Teacher Russell
Teacher Russell
16,873 Points

It won't allow me to scroll with arrows, nor will it exit using q. I typed clear to escape.

1 Answer