Comment

Matt

I constantly am getting this error:

read -s -p "Password: " passw
read: 4: illegal option -s

does anyone know why I can't get -s to work?

Replies

Anonymous

Hi Matt!

In a script, start with

#!/bin/bash

instead of

#!/bin/sh