2
0
Fork 0
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:
Florian Jüttner 2017-04-04 21:12:00 +02:00 committed by Adnan Ahmed
parent aadad11e00
commit 0c46fdf4e1

View file

@ -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