Hi,
My requirement was to check the existence of a file having a specified pattern.The way i tried to achieve this was
if [ -f ilvs_trace*.\`date \+'%m%d'\` ]; then
echo "File found"
fi
an example file having this pattern was 'ilvs_trace01.0124'.
it will vary from 01-22,thats why i tried the above one using wildcard.
Would anyone can provide me a solution for this in the way i expects.
Your help is appreciated.