how to create a shell script taking inputs 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!"