I\'m running the find command to find certain files, but some files in sub-directories have the same name which I want to ignore.
find
I\'m interested in files/pa
Is there any particular reason that you need to use find? You can just use ls to find files that match a pattern in a directory.
ls
ls /dev/abc-*
If you do need to use find, you can use the -maxdepth 1 switch to only apply to the specified directory.
-maxdepth 1