help - listing files

Hi, is there a way from the command line that I can list all files whose names are say 20 characters or more and direct the results into a file. I'm using RH9.

thankx

Try

ls | grep '.\{20,\}' > somefile

great !! it works, thanks a lot