LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ls command line, color and wildcards (https://www.linuxquestions.org/questions/linux-newbie-8/ls-command-line-color-and-wildcards-180893/)

ioio85 05-12-2004 08:54 PM

ls command line, color and wildcards
 
Hello everybody,

I still have questions on a basic command line "ls", after the man page I found no answer. So I try this good forum:

1/ Is it possible to keep the colored filename when you piped it to a "less" or a "more" (or any equivalent) command ?

2/ I tried to use wildcards such as * or ? on my FAT32 partition (for example: ls *.zip) and it returns an argument error whereas on my ext3 partitions the same command works perfectly. Something wrong or is it normal?

Thanks in advance for any kind of help.

My config :

Mandrake 10.0 Community
Pentium IV 2.8C
HD Maxtor 120Go Serial ATA

arvind_sv 05-13-2004 05:01 AM

ls --color | less

For the FAT partition, try:
ls *.ZIP

Maybe there's a problem with upper and lower cases.

Arvind


All times are GMT -5. The time now is 03:41 AM.