#!/bin/sh #Filename:inputPassword.sh echo -e "Enter password:" stty -echo read password #重新回显 stty echo echo echo ‘your password is‘ ${password} echo Password read.
原文地址:https://www.cnblogs.com/yangxuming/p/11073289.html
时间: 2024-11-03 03:46:21
#!/bin/sh #Filename:inputPassword.sh echo -e "Enter password:" stty -echo read password #重新回显 stty echo echo echo ‘your password is‘ ${password} echo Password read.
原文地址:https://www.cnblogs.com/yangxuming/p/11073289.html