Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

File tests

This revision card explains File tests. It starts from the need that -f regular file. It describes -d directory. The how-to section notes -s not empty. An example on the card is example.

File tests -f regular file. -d directory. -s not empty. Example.
File tests · Download PNG
Read card text

What this card says

Why do we need it?

-f regular file.

What is it?

-d directory.

How to do it

-s not empty.

Example

Example.

[[ -f app.conf ]] && echo ok

See all AWS revision cards