摘要: 一般的普通文件的判断条件是 -f。但对于设备节点等特殊文件那就不行了。必须使用与文件类型或者说设备类型相对应的判断条件才可以。 * -b file = True if the file exists and is block special file.块设备文件存在 * -c file = True 阅读全文
posted @ 2017-11-24 13:19 扁桃体也发言 阅读(418) 评论(0) 推荐(0) 编辑