Tuesday, February 9, 2021

Random identity generation in Linux

If you need to generate a list of names and addresses to test an application or a script that you're working on, Linux can make that surprisingly easy. There's a command called "rig" that will create name, address and phone number listings. As far as I can tell, out of the box, it only works with U.S. addresses and area codes. However, if this is indeed the case, you might be able to work around this problem.

To use the rig command, you can just type "rig" on the command line, and a single name and address will be generated. You will see something like this:

$ rig
Mavis English
1015 Tulip St
Anderson, IN  46018
(317) xxx-xxxx

To generate a list with many addresses, use the -c option and specify the number of addresses that you want to see.

To read this article in full, please click here

Thanks to Sandra Henry-Stocker (see source)

No comments:

Post a Comment