i wish to check if a logfile on the server is non-zero.
this file is originally created with information such as product name etc. when the script is run for the first time product name etc gets added. subsequently when i run the script i want to check whether this file is non-zero.. this is to avoid the redundant product name, etc appended redundantly.
i am using ssh auto authentication for access to files.
here a piece of code i am stuck at:
i understand the conditions in my if statement is wrong. hope someone can help.
thanks!