Allgemein

How to Check if a File or Directory Exists in Bash

How to Check if a File or Directory Exists in Bash

In Bash you can use the test command to check whether a file exist and determine the type of the file.