随笔分类 -  sh

创建文件并设置权限
摘要:#!/bin/sh#written by dmer corepath=/corefiles #echo $corepath if [ -d $corepath ];then #echo aaaa if [ $(state -c %a $corepath) -ne 777 ]; then #echo 阅读全文
posted @ 2019-12-31 14:27 码农er 阅读(551) 评论(0) 推荐(0)