while I'm trying to redirect htpasswd's out and input to a pipe file, the prompt messages always print without redirection. I tried manny method, all failed. anyone help?
mkfifo pipe
- htpasswd -m aaa test &> pipe
- htpasswd -m aaa test 2>&1 >pipe
- htpasswd -m aaa test 2>pipe
always prompt print for-ground. Any advise is welcome :)