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
If you just want to limit the find to the first level you can do:
find /dev -maxdepth 1 -name 'abc-*'
... or if you particularly want to exclude the .udev directory, you can do:
.udev
find /dev -name '.udev' -prune -o -name 'abc-*' -print