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

Shadow Skillz
Shadow Skillz
3,020 Points

Reading Files - less

when I uses the less key word the display is slightly different being that below for example looks like this hello.txt (END) and also I'm unable to navigate like how it is shown on the vid when I do move it gives me a line full of tilde's i don't know what I'm doing wrong

3 Answers

Matthew Beiswenger
Matthew Beiswenger
6,814 Points

Never mind, I figured it out. If the contents of the file can be displayed entirely within the console window, then it will simply say (END) at the bottom and you won't be able to move up and down the text of the file like he does in the video. Try resizing the console window so that it's smaller. A ":" will appear like in the video and you will be able to move up and down.

You can check all less commands list here: Less commands I will be glad if I helped you :)

Matthew Beiswenger
Matthew Beiswenger
6,814 Points

I'm having this same issue. It happens not only with the Treehouse console but also in my Mac's Terminal. Does anyone know why this is happening? Here's an image of what the console looks like after typing "less hello.txt": http://imgur.com/a/tqNzt