Advertisement
D0cEvil

Bash - Delete Log

Dec 6th, 2022
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.06 KB | Cybersecurity | 0 0
  1. #!/bin/bash
  2.  
  3. find /var/log -iname "*.gz" -exec rm {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement