Hi ,
I have script in that , i uninstall rpm using rpm -ef $rc1
now my query is rpm -ef is asking user input DO YOU Want To continue (YES/NO) for each uninstalltion.
now i want to supply YES variable when it asks for above statement .
so that i dont have to give user input from keyboard , it should proceed by taking yes .
Any suggestions ?
Thanks in advance
try
echo YES | rpm -ef $rc1
No itkamaraj
its still waiting for input , i tried this before.
Creating Log file for the Adapters-HTTP Adaptation uninstallation Script
Logs for the Adapters-HTTP Adaptation uninstallation scripts can be found at /uninstall-Adapters-HTTP-adaptation_25-07-2012_12-30-52s.log
Wed Jul 25 12:30:53 IST 2012 |DO YOU REALLY WANT TO UNINSTALL Adapters-HTTP MODULE(YES/NO):
no its not working as per links