Good. It does seem a little like reinventing the wheel however. Even if some $HOMEs are not under /home, a find / -name '.netrc' would tell you them anyway. Still, each to his own!
Ken:
Hmm, you are saying just search the entire filesystem '/' for .netrc ?
Isn't .netrc initiated thru user's $HOME? Therefore I am only looking only $HOME. Also, searching thru '/' would take hours on a system with 200 users with over 1TB of space
I take your point (and I wasn't trying to invalidate your methodology, so apologies if I gave that impression), but running the find in the background when nothing much else is happening would probably be an option. Always assuming, of course, that you have such a window available.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.