help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] How to redirect tty to /dev/null?


From: Peng Yu
Subject: [Help-bash] How to redirect tty to /dev/null?
Date: Tue, 3 Sep 2019 10:40:17 -0500

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]