Question: how to check if any file exists in a directory in linux?
Answer: Check that at least one file exists in the directory. dat abc_17032019. dat If at least one file exists then perform some operation else exit from execution. Korn shell ---------------------------------- array=($inputdir/abc*. dat) If ] ] then echo " file exits" else echo " file does...