grib_moments: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/grib_moments - from package: grib_api

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/grib_moments - from package: libgrib-api-tools

You may install the required package with command apt-get install {package}
Error in other languages:
grib_moments: bevel nie gevind nie
grib_moments: comandă negăsită
grib_moments: comando não encontrado
grib_moments: commande introuvable
grib_moments: command not found
grib_moments: käsku ei ole
grib_moments: không tìm thấy lệnh
grib_moments: komanda nerasta
grib_moments: Kommando nicht gefunden.
grib_moments: kommandot finns inte
grib_moments: komut yok
grib_moments: nie znaleziono polecenia
grib_moments: níor aimsíodh an t-ordú
grib_moments: no se encontró la orden
grib_moments: no s'ha trobat l'ordre
grib_moments: opdracht niet gevonden
grib_moments: parancs nem található
grib_moments: perintah tidak ditemukan
grib_moments: príkaz nenájdený
grib_moments: příkaz nenalezen
grib_moments: команда не найдена
grib_moments: командата не е открита
grib_moments: 命令找不到
grib_moments: コマンドが見つかりません