Guys,
I do have a script that runs to take the server out from network, after running the script it is writing the new log file{outFile} in to directory . Now what i need is my script should tail the last modified file{outFile} & search the string {Server Status} ans should echo the same at the output statement.
This is an sample output statement , where server status is not shown.
./removeserver.sh server123 disable
Preparing to service at request to Device tdad6324-ra in Question . . .
Node does exist
Disabling the Device in few seconds
Do some one can guide how to go about it.