Browse Source

added a script to generate passwords

Bachir Soussi Chiadmi 6 years ago
parent
commit
3f5967b5bb
1 changed files with 4 additions and 0 deletions
  1. 4 0
      bin/genpass.sh

+ 4 - 0
bin/genpass.sh

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+_pass="$(< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c12)"
+echo "$_pass"