shell 输入不显示在监视器上
#!/bin/bash read -s -p "Enter your password:" pass echo "your password is $pass" exit 0
输出:
Enter your password:your password is dedede
#!/bin/bash read -s -p "Enter your password:" pass echo "your password is $pass" exit 0
输出:
Enter your password:your password is dedede