Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

clear log file space linux

find /var/log -type f -regex ".*.gz$"
find /var/log -type f -regex ".*.[0-9]$"
Source by serverfault.com #
 
PREVIOUS NEXT
Tagged: #clear #log #file #space #linux
ADD COMMENT
Topic
Name
7+5 =