Bash script Flashcards
1
Q
-d
A
checks if specified directory exists
2
Q
-e
A
checks if specified file exists
3
Q
-f
A
checks a file exists and if it is a regular file
4
Q
-G
A
checks if a file exists and owned by a specific group
5
Q
-h or -L
A
checks if file exists and if its a symbolic link
6
Q
-O
A
checks if the file exists and if its owed by a specific UID
7
Q
-r
A
checks if file exists and if the read permissoin is granted
8
Q
-w
A
checks if file exists and if write permission is granted
9
Q
-x
A
checks if the file exists and if execute permission is granted