Skip to content

Instantly share code, notes, and snippets.

@kokanee
Last active December 11, 2015 02:09
Show Gist options
  • Save kokanee/4528413 to your computer and use it in GitHub Desktop.
Save kokanee/4528413 to your computer and use it in GitHub Desktop.
log file tailing ( for .bashrc )
#!/bin/bash
alias httpdlog='tail -f /var/log/httpd/access_`/bin/date +%Y%m%d`_`/bin/date +%H`.log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment