Hi Guys,
I through my shell programming I have a file that contains ping information, and I want to check every time whether the file is empty or not. I am using shell script programming.
my code is
So anyone can help me in this matter?
Code:
# Ping the node to check its availability
fping -A -r 1 -t 25 -u $OLD_LINE > /tmp/ping_dump.tmp
# Now how ro check whether the ping_dump.tmp file is empty or not ????
Thanks for the help
Bassam