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

6 lines
167 B
Bash

#!/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"