At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
lets say I do this: / $ ls bigHonkinDirectory $ cd bighonkindirectory /bighonkindirectory $ ls screenfuls of files how can I view all the files?
view the filenames*
To scroll up, hit Shift-Up. To scroll down, hit Shift-Down.
or just use ls | more it will show you page by page
Alternatively, pipe the command to the less command. Yeah @ acomdar
so the only bash commands I know are man, ls, cat, more, less, rm, cd
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.
Yes that is like piping and it will work.
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.
always use less instead of more, because with less you can scroll up/down while with more you can go only one direction
more will go up or down try CTRL+U, CTRL+B, CTRL+D, CTRL+F, the return key and the spacebar.
hmm yes, but with less i can just use arrows or mouse scroll :P
Depending on the OS, or probably the window manager, this functionality is available.