1#!/usr/bin/env bash 2# Get a password and put it in /tmp/pass 3 4read -p "Enter certificate password: " -r -s pass 5echo 6#echo -E $pass | sed -e 's-\\-\\\\-g' -e 's-!-\\!-g' >/tmp/pass 7echo -E $pass >/tmp/pass 8