Line 49:
Line 49:
Generate a password and write it to a file:
Generate a password and write it to a file:
randpw 70 > mystrongpassword.txt
randpw 70 > mystrongpassword.txt
+
+
+
Generate a password and store it to a shell variable:
+
MYPASS=`randpw 70`