From 090b6e12aae2788af2c8d35d4d94b1789810552c Mon Sep 17 00:00:00 2001 From: Xalgord Date: Tue, 20 Aug 2024 16:22:41 +0000 Subject: [PATCH] GITBOOK-111: change request with no subject merged in GitBook --- tips-and-write-ups.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tips-and-write-ups.md b/tips-and-write-ups.md index 968107d..29c201d 100644 --- a/tips-and-write-ups.md +++ b/tips-and-write-ups.md @@ -50,3 +50,9 @@ The best terminal-based subdomain scanner tools to find subdomains ```bash awk -F[/.] 'NF > 5' subdomains.txt ``` + +### Sort unique domains based on their content length + +```bash +cat cl.txt | awk '{print $NF, $0}' | sort -u -k1,1 | cut -d' ' -f2- +```