Quantcast
Channel: d0wn
Viewing all articles
Browse latest Browse all 73

Test the existence of a file in bash

$
0
0

If you need to test in a bash script if a file exist you can launch the following command.

Note if the file exist , but , is empty this also test true and tell you that the file exist


Viewing all articles
Browse latest Browse all 73

Trending Articles