read is a shell command used to take input from the user.
Exampleread -p "Enter your name: " name echo "Hello, $name!"
read -p "Enter your name: " name echo "Hello, $name!"
Reads input from the user (used in shell scripts).
Exampleread name echo "Hello, $name!"
read name echo "Hello, $name!"
DevOpsSchoolTypically replies within an hour