[root@node29 ~]# vim ./test.sh #! /bin/bash # 下文示例省略该行 param="" read param echo "The param you input is: ${param}"