Hi,
I have to find files only in the current directory...not in the sub directories.
But when I use Find command ... it searches all the files in the current directory as well as in the subdirectories. I am using AIX-UNIX machine.Please help..I tried to use maxdepth..but it is not working in AIX.
Not tried on AIX, but usually portable:
find . ! -name . -prune -type f -print|sort
And if you were only interested in the output from "ls -la".
ls -la|grep \^\-