cd /path/to/grib_api/bin ./grib_ls /path/to/grib_api/share/grib_api/samples/sh_sfc_grib1.tmpl ./grib_compare /path/to/grib_api/share/grib_api/samples/sh_sfc_grib1.tmpl /path/to/grib_api/share/grib_api/samples/sh_sfc_grib2.tmpl
结果回显如下,出现图中信息则为运行成功。