echo -n "Enter password: "
read -s passwordVariable
Yeah i got it already and thanks for your concernI'm not sure what you mean by Shadow password, but if you want to get a password from a user in a shell script and hide what the user types you can do this:
The -s parameter to read prevents read from echoing what the user types. So when they enter their password, it will not be shown on-screen...Code:echo -n "Enter password: " read -s passwordVariable
Hope this helps!