linux write a script to take input from command 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!"