I've heard that nobody really uses 'more' for stuff like this anymore.
Personally I pipe ls into less when I'm in a situation like you're
describing. I didn't know if you were comfortable with using the man
command or not. Since it seems that you are comfortable with it, I'll
go ahead and say check out 'man more' and 'man less'. Also, as a bonus
bit of script-fu, you can pipe any command into any other command by
issuing
$command1 | command2... [| commandn]
My script-fu isn't that strong, rarely having a use for it. I've got a
number of bash tutorials bookmarked though. Just need to find time to
learn that stuff. There are moments when I really wish I knew scripting.
On 03/22/2017 08:54 PM, Stan Gorodenski stanlep@commspeed.net
[LINUX_Newbies] wrote:
> Thanks, Michael. I'll check it out. I had entered "man ls" to look at
> all the options available for the ls command to no avail.
> Stan
>
>
> On 3/22/2017 6:15 PM, Michael msulli1355@gmail.com [LINUX_Newbies] wrote:
>> You could pipe it. Try 'ls | more' or 'ls | less' for more visual
>> convenience. With less you can scroll through the listing using your
>> keyboard arrow buttons. HTH
>>
>> On 03/22/2017 08:10 PM, Stan Gorodenski stanlep@commspeed.net
>> [LINUX_Newbies] wrote:
>>
>>>
>>> I installed the server Ubuntu 15.04. When I enter a line command like
>>> "ls" to list the contents of a directory, if the list is longer than can
>>> fit in the monitor screen, it will scroll down and what I see is the
>>> tailing end of the list that fits in the monitor screen. How can I get
>>> the "ls" list to stop at the first block that fits in the screen, then
>>> let it go to the second block and so on, so I can see everything that is
>>> being listed?
>>> Stan
>>>
>>>
>>> ------------------------------------------------------------------------
>>> Posted by: Stan Gorodenski<stanlep@commspeed.net>
>>> ------------------------------------------------------------------------
>>>
>>
>>
>> ------------------------------------
>>
>> ------------------------------------
>>
>> To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com& you will be removed.
>> ------------------------------------
>>
>> Yahoo Groups Links
>>
>>
>>
>>
>>
>>
>
>
>
> ------------------------------------
>
> ------------------------------------
>
> To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
------------------------------------
------------------------------------
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/LINUX_Newbies/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/LINUX_Newbies/join
(Yahoo! ID required)
<*> To change settings via email:
LINUX_Newbies-digest@yahoogroups.com
LINUX_Newbies-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
LINUX_Newbies-unsubscribe@yahoogroups.com
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
No comments:
Post a Comment