/ Published in: Bash
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
FILE="/etc/hosts" if [ -f $FILE ]; then echo "File ${FILE} exists" else echo "File ${FILE} does NOT exists" fi
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)
FILE="/etc/hosts" if [ -f $FILE ]; then echo "File ${FILE} exists" else echo "File ${FILE} does NOT exists" fi