who’s been ftp’ing

if you run the following from the command line you’ll get a nice colourful screen output of ftp access

awk '{print $2,$3,$4, "direction="$12," user="$14," complete="$18," fromIP="$7," size="$8, " FileName="$9}' /var/log/xferlog | grep --color 'direction=\|user=\|complete=\|fromIP=\|size=\|FileName='

Leave a Reply

Your email address will not be published. Required fields are marked *