Click to See Complete Forum and Search --> : ls command


Inferno
11-27-2000, 03:24 PM
I just wanted to know if 'ls' has a command like 'dir /p' so that if the directory is big It will alow me to view all the files.

HuggyBear
11-27-2000, 03:43 PM
"ls | more" should do what you want!

Huggy

Shad
11-27-2000, 03:50 PM
ls | less will do it better. http://www.linuxnewbie.org/ubb/tongue.gif

------------------
Just a Tuna in the Sea of Life

Muzzafarath
11-27-2000, 03:56 PM
Just wanted to let you know that | more can be appended to almost all commands like so:


cat /var/log/messages | more