I use this script to start DiscoveryScripting from Linux. In improves compatibility with InsightII and Catalyst (otherwise, when either has been used DiscoveryScript will not run standalone):
#! /bin/sh
#
# Change the value of dspath to match the DS installation.
#
dspath=/usr/accelrys/DiscoveryStudio17
export dspath
unset LD_LIBRARY_PATH
#Note, the command below should allow multiple arguments -- if any are required by your perl script.
\\\$dspath/bin/perl.sh \\\$@
#! /bin/sh
#
# Change the value of dspath to match the DS installation.
#
dspath=/usr/accelrys/DiscoveryStudio17
export dspath
unset LD_LIBRARY_PATH
#Note, the command below should allow multiple arguments -- if any are required by your perl script.
\\\$dspath/bin/perl.sh \\\$@
