脚本练习、计划任务管理

1、编写脚本/bin/per.sh,判断当前用户对指定参数文件,是否不可读并且不可写 #!/bin/bash read -p "please input a filename:" file if [ ! -e $file ];then echo "file is not exits" elif [ ! -r $file -a ! -w $file ];then ec
相关文章
相关标签/搜索