Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

run specific logrotate

logrotate --force $CONFIG_FILE
--force will force rotation even if files do not meet criteria (age, size, etc), but please consider that this is the only way to spot real problems that with logrotate -d would not emerge
logrotate -d [your_config_file] invokes debug mode, giving you a verbose description of what would happen, but leaving the log files untouched.
Comment

PREVIOUS NEXT
Code Example
Shell :: k8s taint 
Shell :: git commit -am "make it better" error 
Shell :: how to run back and front simultaneously linux 
Shell :: count symlink dir bash 
Shell :: How to ssh to multiple servers and run commands 
Shell :: create a index of all files in linux 
Shell :: add user to a folder in ubuntu nginx 
Shell :: cmd NETWORK SERVICE 
Shell :: install goaccess 
Shell :: top show specific pid 
Shell :: surface area of a spherical shell 
Shell :: login authentication in android using volley github 
Shell :: dirname=/usr/bin in linux 
Shell :: wickrme for ubuntu 
Shell :: how to install wintricks 
Shell :: como descargar flask en ubuntu 21.04 
Shell :: git borrar rama local y remote 
Shell :: visual studio code hide git marker 
Shell :: git ftp empty string is not a valid pathspec. please use . instead if you meant to match all paths 
Shell :: uses tasklist to gett pid in batch file 
Shell :: crosh hacking commands 
Shell :: docker-machine –version 
Shell :: cmdlet Invoke-Expression na posição de comando 1 do pipeline Forneça valores para os seguintes parâmetros: Command: 
Shell :: Run the Redis Lab in your local Docker environment 
Shell :: 500 SERVER ERROR docker laravel linux 
Shell :: step2 pgadmin ubuntu 20.04 
Shell :: download marven ubuntu 
Shell :: change time zone in linux 
Shell :: create git 
Shell :: fatal error: jansson.h: Aucun fichier ou dossier de ce type 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =