I am just trying to read the password from command prompt that user should type with in 10 seconds,
I am getting "read: Illegal option -t"
#!/bin/bash
read -t 10 -p "Enter your password: " password
echo $password