mirror of
https://github.com/Idnan/bash-guide.git
synced 2018-11-09 02:29:39 +01:00
corrected test for non-empty file (#19)
This commit is contained in:
parent
aadad11e00
commit
0c46fdf4e1
1 changed files with 1 additions and 1 deletions
|
@ -989,7 +989,7 @@ str1>str2 # str1 is greater than str2
|
|||
-e file # file exists; same -a
|
||||
-f file # file exists and is a regular file (i.e., not a directory or other special type of file)
|
||||
-r file # you have read permission
|
||||
-r file # file exists and is not empty
|
||||
-s file # file exists and is not empty
|
||||
-w file # your have write permission
|
||||
-x file # you have execute permission on file, or directory search permission if it is a directory
|
||||
-N file # file was modified since it was last read
|
||||
|
|
Loading…
Reference in a new issue