Solaris : find command without traversing NFS

The following is the proper syntax to exclude traversal of nfs mounts for the find command

# find / -name somefile -print -o -fstype nfs -prune

Or, use the following command to exclude traversal of nfs, autofs and cachefs filesystems:

# find / -name somefile -print -o -fstype nfs -prune -o -fstype autofs -prune -o -fstype cachefs -prune


I have started ( aka in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' You can connect me at -

What is in your mind, about this post ? Leave a Reply

  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us