摘要: 读取n个字符存入变量(不用按回车,输入到第n个自动结束): [student@myhost ~]$ read -n 3 a 123[student@myhost ~]$ echo $a 123 无回显方式读取密码: [student@myhost ~]$ read -s passwd [studen 阅读全文
posted @ 2022-01-15 21:38 epiphanyy 阅读(8) 评论(0) 推荐(0)