Skip to content

Instantly share code, notes, and snippets.

@dtrailin
Created September 15, 2012 03:09
Show Gist options
  • Select an option

  • Save dtrailin/3726204 to your computer and use it in GitHub Desktop.

Select an option

Save dtrailin/3726204 to your computer and use it in GitHub Desktop.
A password generator
list=`echo {0..9}`
for c1 in $list
do
for c2 in $list
do
for c3 in $list
do
for c4 in $list
do
for c5 in $list
do
for c6 in $list
do
echo 000$c1$c2$c3$c4$c5$c6
done
done
done
done
done
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment