📜  shell 提示用户输入 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:23.800000             🧑  作者: Mango

代码示例1
#!/bin/bash

read -p "Enter Your Name: "  username
echo "Welcome $username!"