Search Results

Search: Posts Made By: e-Minguez
23,296
Posted By e-Minguez
Use this: prompt="Enter password: " sw=0 ...
Use this:
prompt="Enter password: "
sw=0
while [ "$sw" -eq 0 ]
do
read -p "$prompt" -s -n 1 char
if [[ $char == $'\0' ]]
then
sw=1
fi

...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy