Search Results

Search: Posts Made By: shankar1dada
1,414
Posted By jim mcnamara
#!/usr/bin/ksh today=$(date '+%m%d%Y') echo...
#!/usr/bin/ksh
today=$(date '+%m%d%Y')
echo today: $today
file=`ls /opt/feeds | grep "$today"`
if [ -z "$file" ] ; then
echo 'file not found'
else
echo "file found = $file"
fi
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 10:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy