16 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			426 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
###################################
 | 
						|
############ by Sthope ############
 | 
						|
###################################
 | 
						|
 | 
						|
 | 
						|
## nano ~/.bashrc
 | 
						|
## and add this to the end of the file: export PATH=$PATH:~/bin
 | 
						|
## sudo chmod +x ~/bin/*;su -l $USER
 | 
						|
 | 
						|
#### USAGE
 | 
						|
# Type randompwdgenerator and it will generate 10 random passwords with 18 chars
 | 
						|
 | 
						|
for i in {1..10}; do (tr -cd '[:alnum:]' < /dev/urandom | fold -w$'18' | head -n 1); done
 |