Hi
I am using "ls" command to list files present on the system. "ls" lists all the files including those which are not present. Is there a way to filter the output so only the files which are actually present are shown. For exmple, the following command lists all the files:
$ ls /bb/data/f4242pdb.dta /ts/data/f4242pdb.dta
/ts/data/f4242pdb.dta: No such file or directory
/bb/data/f4242pdb.dta
$
I heed the output which only lists the files which actually exist ommiting/supressing "No such file or directory" lines.
Thanks a lot for help -A
PS I have tried to pipe it into "grep -v " but it does not work 
