Hi,<br><br>Sorry for the little bit off-topic.<br><br>I have a script that has to performe a hash over a password.<br>Problem is that sha512sum expects CTRL-D to be pressed to return to the command prompt.<br><br>I've searched all over Google, but either I didn't do the right search or there is nothing relevant about this.<br>
<br>Bottom line is that I need this command to print the password hash and returns to the shell automatically:<br><br>$ sha512sum | xargs echo "password" | cut -f2 -d' '<br><br>Any help would be appreciated.<br>
<br>Warm Regards,<br>Mário Gamito<br>