网站介绍:文章浏览阅读6.9k次,点赞2次,收藏21次。创建文件夹shell脚本添加可执行权chmod +x test_file.sh创建文件shell脚本#!/bin/bashfilePath="/root/test_file.zzz"if [ ! -f "$filePath" ];thentouch $filePathecho "hello liyang" > $filePathecho "文件创建..._sh创建文件
- 链接地址:https://blog.csdn.net/Embrace924/article/details/94724855
- 链接标题:shell创建文件_sh创建文件-CSDN博客
- 所属网站:blog.csdn.net
- 被收藏次数:4477
- 网站标签:sh创建文件