Last active
June 22, 2024 05:13
-
-
Save imran-parray/7ccc41552f923478ec7f3bbd21fa6f9e to your computer and use it in GitHub Desktop.
Seperate Subdomains as per their domains and make a seprate Txt file of each domain
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while IFS= read -r line; do echo "$line" >> "$(echo "$line" | awk -F. '{print $(NF-1)"."$NF}').txt"; done < subdomains.txt |
Author
imran-parray
commented
Jun 22, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment