In /usr/bin/cgnsupdate line 6: dir=`dirname $0` ^----------^ SC2006: Use $(...) notation instead of legacy backticked `...`. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: dir=$(dirname "$0") In /usr/bin/cgnsupdate line 7: if ! [ -x $dir/cgnscheck ]; then ^--^ SC2086: Double quote to prevent globbing and word splitting. Did you mean: if ! [ -x "$dir"/cgnscheck ]; then In /usr/bin/cgnsupdate line 11: $dir/cgnscheck -U $1 $2 ^--^ SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. ^-- SC2086: Double quote to prevent globbing and word splitting. Did you mean: "$dir"/cgnscheck -U "$1" "$2" For more information: https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ... https://www.shellcheck.net/wiki/SC2006 -- Use $(...) notation instead of le...