#!/bin/bash #======================================= # Password generator with login option #======================================= for i in {1..5}; do (tr -cd '[:alnum:][:punct:][:alnum:]' < /dev/urandom | fold -w24 | head -n 1); done # Print the strings printf "$pass_output\n"