anew

Append only new, unique lines to a file.

KaliParrotpassive

pkg: anew

anew dedupes streaming output against a file — essential for continuous recon so you only see new findings.

Syntax

{stream} | anew {file}

Example

subfinder -d t.tld | anew subs.txt

Adds only previously-unseen subdomains to subs.txt.

Advantages
  • Keeps recon incremental
  • Outputs only new lines
Disadvantages
  • Utility only
  • Minor by itself
Tags
#recon#utility

Official docs: anew

Related commands

Frequently asked questions

What is anew used for?
anew dedupes streaming output against a file — essential for continuous recon so you only see new findings.
What is an example anew command?
A common example is: subfinder -d t.tld | anew subs.txt — Adds only previously-unseen subdomains to subs.txt.
Is anew part of Kali Linux?
Yes. anew ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install anew.
What category of security tool is anew?
anew is a Web Application tool with a passive-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →