FILE="/etc/hosts"
if [ -f $FILE ]; then
echo "File ${FILE} exists"
else
echo "File ${FILE} does NOT exists"
fi
سوال برنامه نویسی دارید؟
ندونستن عیب نیست، نپرسیدن چرا!
FILE="/etc/hosts"
if [ -f $FILE ]; then
echo "File ${FILE} exists"
else
echo "File ${FILE} does NOT exists"
fi
ندونستن عیب نیست، نپرسیدن چرا!