parted /dev/sda mklabel msdos will return
delete partition (yes/no) after giving yes it again prompts for the label type. the question is how do i pass the response to the command when my perl script is running.. it should be non interactive without user intervention. I tried using the response file and passing the values but it is not working pls can anybody help me regarding this..
well thanks in advance
How do i automate parted command in linux using perl script - pls help?
Try the Expect module.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment