【发布时间】:2014-08-05 20:44:31
【问题描述】:
请看下面的代码,
snap=snapshot.file
touch snapshot.file-1
$ [ -a $snap-1 ] && echo yes
yes
test -a 命令在这里测试什么?
我尝试了info coreutils 'test invocation' 并搜索了-a,但没有在文件特征测试部分找到它,而是在用于测试的连接词部分找到它.
这样的test -a 命令是无证的吗?
【问题讨论】:
标签: linux command-line command command-line-arguments