List dir contents with page breaks
Hello,
I can't seem to find any info on a terminal command that lists the contents of a directory with page breaks so that I can view the contents of a very large folder (such as /usr/bin) because if I use ls, it prints so many names that scrolling up won't even cover all of them. We all know the obvious solution is to use a graphical file browser, but I tend to shy away from depending on graphical utilities simply because command line feels faster. |
Sounds like you want to try the `less` or `more` tools. There are others, but these two are very common. Example usage, in a pipeline:
Code:
shell$ ls -la | less Kind regards. |
Hi,
Just a few links to aid you to gaining some understanding. Sure some may seem beyond a newbie but you must start somewhere; Linux Documentation Project Rute Tutorial & Exposition Linux Command Guide Utimate Linux Newbie Guide LinuxSelfHelp Getting Started with Linux Bash Beginners Guide Bash Reference Manual Advanced Bash-Scripting Guide Linux Home Networking The above links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links! |
Thanks a lot, GrapefruiTgirl, I don't know how I didn't already know about more and less!
Also, onebuck, Thanks for those links, especially the last one. |
All times are GMT -5. The time now is 04:50 PM. |