Skip to content

Instantly share code, notes, and snippets.

@r0t0shell
Created December 10, 2021 04:46
Show Gist options
  • Select an option

  • Save r0t0shell/b2f37e36a8ed7cbe7195ead9f5d40b3b to your computer and use it in GitHub Desktop.

Select an option

Save r0t0shell/b2f37e36a8ed7cbe7195ead9f5d40b3b to your computer and use it in GitHub Desktop.
Bash script to generate a random NSA project name.
#!/bin/bash
adjs=(
"loud"
"red"
"blue"
"green"
"yellow"
"irate"
"angry"
"peeved"
"happy"
"slimy"
"sleepy"
"junior"
"slicker"
"united"
"somber"
"bizarre"
"odd"
"weird"
"wrong"
"latent"
"chilly"
"strange"
"loud"
"silent"
"hopping"
"orange"
"violet"
"violent"
)
nouns=(
"whisper"
"felony"
"moon"
"sucker"
"penguin"
"waffle"
"maestro"
"night"
"trinity"
"deity"
"monkey"
"ark"
"squirrel"
"iron"
"bounce"
"farm"
"chef"
"trough"
"net"
"trawl"
"glee"
"water"
"spork"
"plow"
"feed"
"souffle"
"route"
"bagel"
"montana"
"analyst"
"auto"
"watch"
"photo"
"yard"
"source"
"monkey"
"seagull"
"toll"
"spawn"
"gopher"
"chipmunk"
"set"
"calendar"
"artist"
"chaser"
"scan"
"tote"
"beam"
"entourage"
"genesis"
"walk"
"spatula"
"rage"
"fire"
"master"
)
adj=${adjs[$[$RANDOM % ${#adjs[@]}]]}
noun=${nouns[$[$RANDOM % ${#nouns[@]}]]}
echo $adj$noun | tr '[:lower:]' '[:upper:]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment