cat read.sh bash read.sh read -s参数会隐藏用户的输入,但是输出后不会换行,需要用echo向前输出一个换行符\n 修改代码如下去掉echo向前输出的换行符,重新执行,此时输出将不会换行: