linux test
来源:互联网 发布:易语言免费网络验证 编辑:程序博客网 时间:2024/05/29 05:00
test 表达式
运算符 如果。。。。。则为真
string string不是null
-b file file是块设备文件
-c file file是字符设备文件
-d file file是目录
-e file file存在
-f file file为一般文件
-g file file有设置它的setgid位
-h file file是一符号连接
-L file file是一符号连接(等同于 -h)
-n string string是非null
-p file file是一命名的管道(FIFO文件)
-r file file是可读的
-S file file是socket
-s file file不是空的
-t n 文件描述符n指向一终端
-u file file有设置它的setuid位
-w file file是可写入的
-x file file是可执行的,或file是可被查找的目录
-z string string为null
s1 = s2 字符串s1与s2相同
s1 != s2 字符串s1与s2不相同
n1 -eq n2 整数n1等于n2
n1 -ne n2 整数n1不等于n2
n1 -lt n2 n1小于n2
n1 -gt n2 n1大于n2
n1 -le n2 n1小于或等于n2
n1 -ge n2 n1大于或等于n2
$# 参数总数
$@ 所有参数
- Linux - test
- linux test
- Test Linux
- Test-Drive Linux
- Linux Test Tools
- linux test tool
- Linux命令:test
- Linux Test Project
- linux socket test
- linux的test命令
- Linux Shell Test 命令
- linux ping traceroute test
- linux kernel sctp test
- LPT: Linux test project
- Linux test command Use
- linux的test命令
- linux shell test
- ltp (Linux Test Project)
- 像素是什么意思?一个像素有多大? 告诉你像素和分辨率的关系!
- js 判断是否为 Android IOS IPAD IPHONE 等移动设备访问
- sdio架构初解
- java中main函数解析
- 关于禁止webbrowser在触屏电脑上的缩放,找了很多方法,现在总结一下
- linux test
- Python os.path.walk遍历文件,搜索文件里面的内容
- linux设备驱动——andriod平台wlan驱动
- 什么是装箱和拆箱?怎样操作?
- ucGUI文件说明
- 刚毕业没几年,别去计较太多得失
- Cannot call method 'indexOf' of undefined
- 利用正则表达式判断身份证号
- 微信公众平台消息接口-java-jsp版