文件状态测试 -b filename 判断文件filename是否为块设备,若文件不存在返回假 -c filename 判断文件filename是否为字符设备,若文件不存在返回假 -d pathname 判断路径pathname是否为目录,若路径不存在返回假 -e pathname 判断路径pathn […]
Linux
分类
Shell编程中用到的$开头的系统变量
文件状态测试 -b filename 判断文件filename是否为块设备,若文件不存在返回假 -c filename 判断文件filename是否为字符设备,若文件不存在返回假 -d pathname 判断路径pathname是否为目录,若路径不存在返回假 -e pathname 判断路径pathn […]
Shell编程中用到的$开头的系统变量