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

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

how to scroll up when using cat?

Hello, when using cat I am unable to scroll up and down using arrows, it gives me the history of what I have typed when I use the arrows. What do I do wrong? Thank you in advance and thank you treehouse, for the wonderfull courses, this takes the fear out of command line :):)

8 Answers

Scott Evans
Scott Evans
4,236 Points

I would suggest using a command line editor then, if you want to see more than less provides

Scott Evans
Scott Evans
4,236 Points

If you are trying to Scroll you can either use your mouse's scroll wheel or you could use a different viewing software for example. nano somefile.txt

This would allow you to navigate the whole file using CTRL-N

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

Thank you Scott :) So, it means that if I do not have a mouse with a scroll button on my laptop, I can not scroll up and down if I use less?

Scott Evans
Scott Evans
4,236 Points

Does your terminal not have a scroll bar?

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

Ok thanks:) I do have an additional question,if you have time, how can I copy paste from terminal to my desktop?

Scott Evans
Scott Evans
4,236 Points

What terminal program are you using?

cristian bolea
PLUS
cristian bolea
Courses Plus Student 3,393 Points

Thanks a lot Scott..:) Sorry for the delay... I am using the terminal window from the course..