'What means "[ -f ./path/to/file.xml ]"?

what does the following terminal expression mean?

[ -f ./path/to/file.xml ]

Thank you!



Solution 1:[1]

It means if there exist file.xml at location ./path/to/file.xml .

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shubham Kumar