uname -r的输出为4.15.0-33-genericii linux-image-4.15.0-33-genericamd64 Linux kernel image for version 4.4.0 on 64 bit x86 SMP
rc linux-image-4.4.0-112-genericamd64 Linux kernel image for version 4.4.0 o
Apachechecking for grep that handles long lines and -e.../bin/grepchecking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-li
我对linux比较缺乏经验,如果某个zip文件是空的,我必须检查bash脚本-即zip不包含任何文件。我找到了这段代码:
if !zipinfo ${filetotransfer} | tail -n 1 | grep '^0 ' >/dev/null ; then # we have empty zip file!