Revision: 60208
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 25, 2012 19:31 by XtreamIT
Initial Code
FILE="/etc/hosts"
if [ -f $FILE ]; then
echo "File ${FILE} exists"
else
echo "File ${FILE} does NOT exists"
fi
Initial URL
Initial Description
Initial Title
Check if a file exists
Initial Tags
Initial Language
Bash