if [ -f "${x}"_"${y}"_abc_pqr.dat ]; then
rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatched
Can anyone please help me in correcting it.
if [ -f "${x}"_"${y}"_abc_pqr.dat ]; then
rm -rf "${x}"_"${y}"_abc_pqr.dat error: `then' unmatched
Can anyone please help me in correcting it.
fi was missing
try
if [ -f "${x}"_"${y}"_abc_pqr.dat ]; then
rm -rf "${x}"_"${y}"_abc_pqr.dat
fi
Hey, its working Thank you so much.