petname - Man Page
utility to generate "pet names", consisting of a random combination of adverbs, an adjective, and a proper name
golang-petname [-w|--words INT] [-s|--separator STR]
- --words number of words in the name, default is 2
--separator string used to separate name words, default is '-'
This utility will generate "pet names", consisting of a random combination of an adverb, adjective, and proper name. These are useful for unique hostnames, for instance.
The default packaging contains about 2000 names, 1300 adjectives, and 4000 adverbs, yielding nearly 10 billion unique combinations, covering over 32 bits of unique namespace.
As such, PetName tries to follow the tenets of Zooko's triangle. Names are:
- human meaningful
$ golang-petname --words 1
$ golang-petname --words 3
$ golang-petname --words 4
$ golang-petname --separator ":"
$ golang-petname --separator "" --words 3
This manpage and the utility were written by Dustin Kirkland <firstname.lastname@example.org> for Ubuntu systems (but may be used by others). Permission is granted to copy, distribute and/or modify this document and the utility under the terms of the Apache2 License.
The complete text of the Apache2 License can be found in /usr/share/common-licenses/Apache-2.0 on Debian/Ubuntu systems.