Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

jamesapp

macrumors 6502a
Original poster
Mar 7, 2008
544
0
Is there a way to scroll the screen in mobile terminal. like if you get a long listing and part of the information goes off the screen, can you scroll the screen up to see the information? I was in mobile terminal the other night and i had ssh'd into my laptop i did an ls and the files and folders went partly off the screen. I tried to scroll up with my finger but i hit the little circle that says exit etc.. any help?
 
Is there a way to scroll the screen in mobile terminal. like if you get a long listing and part of the information goes off the screen, can you scroll the screen up to see the information? I was in mobile terminal the other night and i had ssh'd into my laptop i did an ls and the files and folders went partly off the screen. I tried to scroll up with my finger but i hit the little circle that says exit etc.. any help?

There are two ways to accomplish what you want.

1. Scroll the terminal by dragging your finger on the right 1/4th or so or the screen.

2. When you want to see all the output of a command, add " | less" to the end of it. For instance, let's say you type ls and there are a bunch of files listed that go off the screen, instead of just "ls" do

Code:
ls | less

And you can page through the output.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.