Quickly create word list

An easy way to create a word list in bash :

for i in {a..z} ; do echo $i ; done
for i in {a..z}{{a..z},{0..9},-} ; do echo $i ; done
for i in {a..z}{{a..z},{0..9},-}{{a..z},{0..9},-} ; do echo $i ; done

The first line creates a list of one characters word from a to z

The second line creates a list of two characters word from aa to z- the alphabet for the second character can be a-z or 0-9 or –

The third line is a three character word list.

 

 

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.