qfedu-linux-advanced-level/day1/d6.sh

6 lines
167 B
Bash
Raw Normal View History

2023-08-14 15:53:04 +08:00
#!/bin/bash
# read 是读取, -p 是打印
read -p "please input your name: " name
read -p "please input your age: " age
echo "my name is $name, and my age is $age"