bash script keyboard input code example
Example: how to read from keyboard in bash and store in a variable
#!/bin/bash
read -p "Enter your name : " name
echo "Hi, $name. Let us be friends!"
#!/bin/bash
read -p "Enter your name : " name
echo "Hi, $name. Let us be friends!"