awk

awk -F \" '{ print $6 }' /var/log/backup/access.log ## In this instance we're using " as a feild delimiter to access the 6th column containing the user agent string.

Last updated

Was this helpful?