0
点赞
收藏
分享

微信扫一扫

shell脚本之获取文件的扩展名

_LEON_ 2022-06-06 阅读 80
FILE="example.tar.gz"

echo "${FILE##*.}"
# => gz

 


举报

相关推荐

0 条评论