c how to define PS1 prompt and record user input in it code example
Example 1: input bash
# fullname="USER INPUT"
read -p "Enter fullname: " fullname
# user="USER INPUT"
read -p "Enter user: " user
Example 2: read value in script
read -p "Enter your name : " name
echo $name