Kinda server noob. Is there a simple command to run on server access logs to track downloads of a particular file? Running Ubuntu 10.04.
That looks for entries in your access log for '/path/to/file' and gives you a count of those lines. Run it against more logs for more days.
As Bill Weiss suggested, though older files are compressed, run
tail -f /var/log/httpd/access.log | grep "/path/to/file"
or to monitor multiple files:
tail -f /var/log/httpd/access.log | grep -E "(/path/to/file|/path/to/other/file)"