vodkadrinker
Technical User
The following statement works fine to check if a file exists on a local server but is there anyway to use this option to check a remote server?
if [ -s /tmp ]
then
echo "/tmp exists"
else
echo "/tmp does not exist"
fi
Many thanks
VD
if [ -s /tmp ]
then
echo "/tmp exists"
else
echo "/tmp does not exist"
fi
Many thanks
VD