Widziałem stronę man z test
.co jest zwykłym plikiem na unixie
gdzie wymienione jest poniżej.
-e pathname
True if pathname resolves to a file that exists. False if pathname cannot be resolved.
-f pathname
True if pathname resolves to a file that exists and is a regular file. False if pathname cannot be resolved, or if pathname resolves to a file that exists but is not a regular file.
flaga -f
mówi True jeżeli ścieżka postanawia pliku, który istnieje i jest zwykłym plikiem Czy ktoś proszę powiedzieć, co jest zwykłym plikiem, a co nie jest zwykłym plikiem.