7 May 2018

Grep file return unique values

Grep file return unique values

Command Line

grep -oh "^[0-9,\.]*[ ]" localhost_access_log.2018-05-07.txt | sort -u
tags: linux - grep - sort - unique

Less Is More