I am trying to read a password from user, i used -s silent flag but read -s is not working from the script but it works if i do it manually from terminal.
error details
project.sh: 3: read: Illegal option -s
you entered 
code
maddy@ElementalX:~/Desktop$ cat project.sh 
#!/usr/bin/sh
read -s -p "Enter Password: " pswd
echo "you entered $pswd"
maddy@ElementalX:~/Desktop$