Hi,
If I run the following command, it still asks the password in the
screen. I suspect that somehow the pass is taken from tty instead of
stdin. Does anybody know how to redirect tty to /dev/null?
$ unzip -p pasword_protected.zip file.txt < /dev/null
[pasword_protected.zip] file.txt password:
--
Regards,
Peng