SyntaxFix
Write A Post
Hire A Developer
Questions
for entry in "/home/loc/etc/"/* do if [ -s /home/loc/etc/$entry ] then echo "$entry File is available" else echo "$entry File is not available" fi done Hope it helps