shell创建文件_sh创建文件-CSDN博客网友收藏

shell创建文件_sh创建文件-CSDN博客

文章浏览阅读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 &quo......
阅读全文