| by Arround The Web | No comments

How to check if a file exists in bash

When developing Shell scripts, you may come into situations where you must execute an action depending on whether a file exists. The test command in bash may be used to discover whether a file exists and its type.

Share Button

Source: FOSS Linux

Leave a Reply