Skip to content

Instantly share code, notes, and snippets.

@yevrah
Created September 2, 2014 06:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yevrah/179acc8fb2fcb249b01c to your computer and use it in GitHub Desktop.
Save yevrah/179acc8fb2fcb249b01c to your computer and use it in GitHub Desktop.
Remote Tail Apache HTTP Error Log
#!/bin/sh
#
# Usage:
# tail_http.ssh user@host
ssh -t $1 "sudo tail -f /var/log/httpd/error_log"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment