AIXSPadmin
MIS
My knowledge of C is limited and for the task I am trying to do I cannot use Korn shell. Given that, how would I get a list of files into an array and print them to the screen and give the user a choice of which one to choose to delete.
Example:
If there was a core file in /home /tmp /usr/WebSphere /sft/iplanet
I want to list the files and prompt them to delete them:
Do you want to delete /home/core (Y/N)?
And loop through until all files have been read. I can do this easily in Korn, but as I said my C is rough.
Thanks for any help.
Example:
If there was a core file in /home /tmp /usr/WebSphere /sft/iplanet
I want to list the files and prompt them to delete them:
Do you want to delete /home/core (Y/N)?
And loop through until all files have been read. I can do this easily in Korn, but as I said my C is rough.
Thanks for any help.