For example; using the ls command in the bin file produces a large amound of text which quickly flows onto the screen leaving visible only the bottom segment of it. So how do you 'scroll' upwards to see the top part?
To a text file then edit it.
Bob
Both solutions work well.
suprises me that there isn't a straightforward way of scrolling with the arrows-ok, with my experience so far with bash, it doesn't suprise me at all!
cheers
Rich.
Both solutions work well.
suprises me that there isn't a straightforward way of scrolling with the arrows-ok, with my experience so far with bash, it doesn't suprise me at all!
cheers
Rich.
Here I can run konsole and it has scroll bars. But this is dependant on your distro. I'm not a historian of or know all distros so my answer is more of the "classic" style that works everywhere.
Bob
Usually, less is more; but in the Linux world, less is better than more. Confused yet? ![]()
Piping through Less will allow you to use the up arrow as well as the down arrow.
ls | less
shift + page up / page down...and im a linux noob! lol
You didn't tell and this discussion noted 2 shells so far.
Bob
You're using GNU's ls(1) command. When it sees its output is not a terminal (it's a pipe or file) its output is one filename per line. Probably not what you want. To force the tabular output format, give the -C (colunms) option on the command line. ls -C /bin | less
| Forum legend: | |
| Locked thread | |
| Moderator | |
![]() |
CNET staff |
![]() |
Samsung staff |
| Norton Authorized Support team | |
| AVG staff | |
| Windows Outreach team | |
![]() |
Dell staff |
| Intel staff | |