scrolling with mobile terminal

Discussion in 'Jailbreaks and iOS Hacks' started by jamesapp, Dec 1, 2008.

  1. jamesapp macrumors 6502a

    Mar 7, 2008
    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?
  2. The General macrumors 601

    Jul 7, 2006
    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

    ls | less
    And you can page through the output.

Share This Page