Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
maldevel committed Sep 10, 2019
1 parent 27434cd commit 31af336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grep/nmap-grep-live-hosts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# For more see the file 'LICENSE' for copying permission.

if [ $# -eq 1 ]; then
cat $1/*.gnmap | grep 'Status: Up' | cut -d ' ' -f2 | sort -V
cat $1/*.gnmap | grep 'Status: Up' | cut -d ' ' -f2 | sort -V | uniq
else
echo "Please provide a directory path."
fi

0 comments on commit 31af336

Please sign in to comment.