狮月しんら合集:Sell编程积累

来源:百度文库 编辑:中财网 时间:2024/05/10 09:04:44
*shell编程中test的使用*test -d file 指定文件是否目录test -f file 指定文件是否常规文件test -x file 指定文件是否可执行test -r file 指定文件是否可读test -w file 指定文件是否可写test -a file 指定文件是否存在test -s file 文件的大小是否非0