1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2024-11-21 20:35:12 +00:00

Fix bash flag typo

This had `-r` twice, but this one should be `-s`
This commit is contained in:
Keith Smiley 2018-03-10 18:16:31 -08:00 committed by GitHub
parent 387d6c3d48
commit 6265188ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ str1 > str2 # str1 is greater than str2 (alphabetically)
-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