We are migrating some servers from HP-UX to Linux RedHat, and we have to migrate about 100 shell scripts that are referencing /usr/bin/mailx (instead of /bin/mailx on Linux).
We'd like to change all the 100 scripts (from /usr/bin/mailx to /bin/mailx) only if this is the last option.
Are there better ways of doing this?
P.S.: our system administrators don't want to create a symbolic lynk "/usr/bin/mailx" pointing to /bin/mailx (I didn't understand why, actually).
Thanks in advance.