Bash脚本记要

Bash脚本记录记录以下常用的shell命令。1.Append output to filesitema.pngif [[ $item *.png ]]th

Bash脚本记录

记录以下常用的shell命令。

1.Append output to files

item="a.png"if [[ "$item" == *.png ]]then        echo $itemfi