⬅︎ Back to Read in passwords with bash
Hi Matt!In a script, start with#!/bin/bashinstead of#!/bin/sh
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?
Comment
Hi Matt!
In a script, start with
#!/bin/bash
instead of
#!/bin/sh
Parent comment
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?