I am running a find command and the o/p i am saving in a file. The
content of the file is as bellow.
cannot open /proc/19364: No such file or directory
cannot open /proc/19317: No such file or directory
cannot open /proc/19365: No such file or directory
cannot open /proc/19355: No such file or directory
cannot open /proc/19342: No such file or directory
I need to run all agent_uninstall scripts like this.
when I will run this script I will get two interactive prompts where I
need to give two inputs
one is "/opt/home/121"
and the otherone is "y"
so I will have to extract all these /opt/home/121, /opt/home/124, /opt/
var/122 and give as input
after running the uninstall script.
How to do the user interactive prompt automated using perl.
And how to save all the /opt/home/121, /opt/home/124, /opt/var/122 in
a array and give then as input.