File system related tests what is that.
In general we can test things which are related to file system.
As for example checking of files and its permissions checking of symbolic things and so on.
Let's look what five operators do we have.
There is a list of most common ones the operator returns true if a variable holds an existing file.
And by that it is fraud in a Linux environment file or a directory.
Yes dedicatory you are hearing correctly because the directory is basically file which contains other
files.
Then we have f operator.
We are using it.
If we want to know if file we have provided is a regular file not that not a directory only a regular
file.
D operator.
Returns true if a variable holds an existing directory.
If we want to check if file has exit code permissions we are using x operator for checking symbolic
Graines we are using capital L if you want to know if file is readable for us.
The values are but and if you want to know if fout is ratable for us we can check it with W.
Now.
Let's see some simple example.
We are asking if firelit represented by a variable fire and is now let's write some script where we
can practice.