Reading list Switch to dark mode

    Random Password generation through terminal

    Updated 5 April 2014

    Passwords provide the first line of defense against unauthorized access. While using a corporate network we must always choose a strong password because more stronger it will be, the more protected we are from different attacks on our privacy.

    Our linux provide this facility to generate a random password in a simple steps

    # egrep -ioam1 ‘[a-zA-z0-9!@#$%^&*()_+=]{10}’┬á /dev/urandom

    • a-z A-Z—- all the alphabets upper and lowercase
    • 0-9 all numerals
    • !-= all special characters
    • we can also set the length we want of our password

    We can choose the input characters from which we want to generate pasword.

    Here is the screen-shot of the output of command.

    Start your headless eCommerce
    Find out More


    . . .

    Leave a Comment

    Your email address will not be published. Required fields are marked*

    Be the first to comment.

    Back to Top

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home