For understanding indexes option, let us go to /var/www/html/example2 directory and create the files and directories as we have
discussed, so we will go to our master system, in Master system.
First, we are going to move to /var/www/html/example2 directory by default, one file is there.
So we are going to create mkdir test soft.
Then we will enter into the test directory.
Just create two files with the touch command.
You can create the files, then we want to enter into the soft directory.
So we'll go into the soft directory and by using the touch command we are again going to create 2 file as
s1 and s2.
So for understanding indexes option, we need certain data.
Now we are in this directory and with tree command you can view the whole directory structure.
So it is showing that we have got one soft directory and s1 and s2 files are there.
Then we have got test directory.
files f1 and f2 files are there.
So instead of typing t1 t2 we type f1 f2, no issue regarding that or we can change
that also like we have shown in that screenshot.
So let us go into this directory and remove these files, rm f1 f2 and let us create
the files that we decided in the screenshots.
So we are going to make the file t1 and t2 like we discuss.
So let me again come back.
Now, if we are going to view that mean now it is correct in soft, we have got s1 and s2
in test we have t1 and t2, even if the files were f1 and f2 no issue regarding
that.
So we have created the file and directories as we discussed.