学贵有恒

方有所成

导航

2018年8月28日

Linux 命令练习

摘要: test 命令: (鸟哥linux私房菜视频第30集) test -d : 判断一个文件是否为目录。 eg: test -d passwd && echo "is a dir"|| echo "is not a dir" test -f : 判断一个文件是否为普通文件。 eg: test -f sh 阅读全文

posted @ 2018-08-28 15:28 CarryBricks 阅读(130) 评论(0) 推荐(0) 编辑