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
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) 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' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

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

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

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