Skip to content

Instantly share code, notes, and snippets.

@ailourophile
Created May 21, 2014 02:25
Show Gist options
  • Save ailourophile/a3782cc9ef1b2cccfda9 to your computer and use it in GitHub Desktop.
Save ailourophile/a3782cc9ef1b2cccfda9 to your computer and use it in GitHub Desktop.
mkdir in nmap directory
ls | grep -oP '(?<=^disc\-).*(?=\.lst)' | awk '{system("mkdir "$1)}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment