A community for students.
Here's the question you clicked on:
 0 viewing
agdgdgdgwngo
 3 years ago
in bash, how do I scroll up?
agdgdgdgwngo
 3 years ago
in bash, how do I scroll up?

This Question is Closed

agdgdgdgwngo
 3 years ago
Best ResponseYou've already chosen the best response.0lets say I do this: / $ ls bigHonkinDirectory $ cd bighonkindirectory /bighonkindirectory $ ls screenfuls of files how can I view all the files?

agdgdgdgwngo
 3 years ago
Best ResponseYou've already chosen the best response.0view the filenames*

jagatuba
 3 years ago
Best ResponseYou've already chosen the best response.0To scroll up, hit ShiftUp. To scroll down, hit ShiftDown.

acomodar
 3 years ago
Best ResponseYou've already chosen the best response.0or just use ls  more it will show you page by page

jagatuba
 3 years ago
Best ResponseYou've already chosen the best response.0Alternatively, pipe the command to the less command. Yeah @ acomdar

agdgdgdgwngo
 3 years ago
Best ResponseYou've already chosen the best response.0so the only bash commands I know are man, ls, cat, more, less, rm, cd

Cryptic57
 3 years ago
Best ResponseYou've already chosen the best response.0I'm new to this but would cp to another open/readable folder not work? Or is this like the pipe and/or less command.

jagatuba
 3 years ago
Best ResponseYou've already chosen the best response.0Yes that is like piping and it will work.

rsmith6559
 3 years ago
Best ResponseYou've already chosen the best response.0ls  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.

Tomas.A
 3 years ago
Best ResponseYou've already chosen the best response.2always use less instead of more, because with less you can scroll up/down while with more you can go only one direction

rsmith6559
 3 years ago
Best ResponseYou've already chosen the best response.0more will go up or down try CTRL+U, CTRL+B, CTRL+D, CTRL+F, the return key and the spacebar.

Tomas.A
 3 years ago
Best ResponseYou've already chosen the best response.2hmm yes, but with less i can just use arrows or mouse scroll :P

rsmith6559
 3 years ago
Best ResponseYou've already chosen the best response.0Depending on the OS, or probably the window manager, this functionality is available.
Ask your own question
Sign UpFind more explanations on OpenStudy
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
 Engagement 19 Mad Hatter
 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.