Hi Grp...
I have a pb , may be anyone can help me...
I want some idea ..Actually i am a writing a shell script for my Project ..
In m project there are various customers like J090 C098 etc.(These are customers code no's)
In that , each customers has log directories ...in location say /mnt/logs/custcode/optindexes
{ where custcode is replaced by codes of customers like J090 , C098 etc)
These logs are automatically running , means
we have a soft index named indexui , whose position is like this
its in custcode directory
#indexui->/mnt/logs/custcode/optindexes/logs-23-01-2006
In above link the indexui is automatically updated to latest log directory like logs-23-01-2006(present date directory) , but some times it happens that it is not able to update i.e not link to latest logs directory...
so for that i have to check manually wheather link is updated to latest logdir or not..
So for that i m writing a script ,which shows "link is updated" if indexui links to updated log directory and shows "error" if its not able to update
..I checks links of all customers daily for updataion ..
So plz anyone help me how to check the links ,wheather it link to latest log directory or not ,
So help me plzzz, if anyone have idea to write this type of script
Thxx
gaurav bajaj