find command

I  want to perform an action on all plain files
on my system, but it doesn't seem to be working
the way I think it should. It is a solaris 2.6 system.
Here is an example of what I mean:
ls -la /usr/bin
The first 3 files listed are acctcom, adb, and addbib.
find /usr/bin -type f -print
The first 3 files listed are adb, alias, and arch.
Why didn't the find command list acctcom, and
addbib? Those are plain files, aren't they?

Who is Participating?
ozoConnect With a Mentor Commented:
ls and find may not list the files in the same order.
If acctcom isn't anywhere in the list, what does
file /usr/bin/acctcom say it is?
zmanzAuthor Commented:
I found the file. It's there. Its just sorted differently. Thanks.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.