"-s" switch is not working bash shell script. It throws error without prompting for the password.
Using: Ubuntu 16.04.6 LTS
Am i missing anything?
#!/bin/bash
echo "Enter password"
read -s password
echo "password:" $password
Enter password test.sh: 4: read: Illegal option -s password:
type read?