Advertisement
Sergio_Istea

statapache.sh

Oct 27th, 2022
1,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.15 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. dir="/var/www/laboratorio.istea/log"
  5. log="access.log"
  6.  
  7. while true;do
  8.  
  9.     clear
  10.     tail $dir/$log | cut -d "-" -f 1
  11.     sleep 1
  12. done
  13.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement