Hi,
I am looking for a generic find
command that works on both Linux and Solaris.
I have the below command that works fine on Linux but fails on solaris.
find /web/config -type f '(' -name '*.txt' -or -name '*.xml' -name '*.pro' ')'
Fails on SunOS mysolaris 5.10 Generic_150400-61 sun4v sparc sun4v
Error on Solaris:
Can you please suggest either the correct absolute path to find which works on both Linux & Solaris else tweak my command to suit both Linux and Solaris.