0
Q:

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!"
0

New to Communities?

Join the community