System Administration Guide: Resource Management and Network Services

Example-Searching for and Removing .rhosts Files

The following example searches and removes .rhosts files in all the user's home directories that are located in the /export/home directory.


# find /export/home -name .rhosts -print | xargs -i -t rm{}