Bash script to check file exist or not using Zenity

On this bash/shell script tutorial, I am going to show you how to use Zenity to check if a file exist or not. Its pretty simple. Here is the example if a file /etc/hosts exist.

check file via bash

Here is the example :

[codesyntax lang=”bash”]



Leave a Reply

Your email address will not be published. Required fields are marked *