Quantcast

Got Homework?

Connect with other students for help. It's a free community.

  • across
    MIT Grad Student
    Online now
  • laura*
    Helped 1,000 students
    Online now
  • Hero
    College Math Guru
    Online now

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

agdgdgdgwngo Group Title

in bash, how do I scroll up?

  • 2 years ago
  • 2 years ago

  • This Question is Closed
  1. agdgdgdgwngo Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    lets say I do this: / $ ls bigHonkinDirectory $ cd bighonkindirectory /bighonkindirectory $ ls screenfuls of files how can I view all the files?

    • 2 years ago
  2. agdgdgdgwngo Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    view the filenames*

    • 2 years ago
  3. jagatuba Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    To scroll up, hit Shift-Up. To scroll down, hit Shift-Down.

    • 2 years ago
  4. acomodar Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    or just use ls | more it will show you page by page

    • 2 years ago
  5. jagatuba Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Alternatively, pipe the command to the less command. Yeah @ acomdar

    • 2 years ago
  6. agdgdgdgwngo Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    so the only bash commands I know are man, ls, cat, more, less, rm, cd

    • 2 years ago
  7. agdgdgdgwngo Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    also pwd

    • 2 years ago
  8. Cryptic57 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    I'm new to this but would cp to another open/readable folder not work? Or is this like the pipe and/or less command.

    • 2 years ago
  9. jagatuba Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Yes that is like piping and it will work.

    • 2 years ago
  10. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    ls | more ls's output is piped ( | ) to more's input. You can chain things arbitrarily long doing this. Each week I have to check an inventory of tapes by: cat fileName | egrep 'D00' | sort | more which gives me all the tapes whose name begins with D00 in sorted order and I can control the scrolling.

    • 2 years ago
  11. Tomas.A Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    always use less instead of more, because with less you can scroll up/down while with more you can go only one direction

    • 2 years ago
  12. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    more will go up or down try CTRL+U, CTRL+B, CTRL+D, CTRL+F, the return key and the spacebar.

    • 2 years ago
  13. Tomas.A Group Title
    Best Response
    You've already chosen the best response.
    Medals 2

    hmm yes, but with less i can just use arrows or mouse scroll :P

    • 2 years ago
  14. jagatuba Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Yep.

    • 2 years ago
  15. rsmith6559 Group Title
    Best Response
    You've already chosen the best response.
    Medals 0

    Depending on the OS, or probably the window manager, this functionality is available.

    • 2 years ago
    • Attachments:

See more questions >>>

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.