Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

find rm files older than 30 days

find /var/log -name "*.log" -type f -mtime +30 -delete 
Comment

PREVIOUS NEXT
Code Example
Shell :: debian get minor version 
Shell :: setup git project 
Shell :: ubuntu libreoffice calc start 
Shell :: how to remove remote origin from git repo 
Shell :: npm install webpack 
Shell :: portainer install 
Shell :: install aws cli version 2 
Shell :: postgres users can login with any or no password 
Shell :: terminal save txt to clipboard 
Shell :: how to add a directory to path in linux 
Shell :: ubuntu start cronjob 
Shell :: create scheduled task via powershell scheduled reboot 
Shell :: kill running port in ubuntu using procees id 
Shell :: git log show only merge commits 
Shell :: how to remove windows 10 built in apps powershell 
Shell :: how to check command history in linux with date and time 
Shell :: wsl 
Shell :: install conan 
Shell :: git lost changes after reset --keep 
Shell :: Unable to boot device due to insufficient system resources. 
Shell :: kill x server 
Shell :: install vscode ubuntu 
Shell :: bash move file 
Shell :: debian install ping 
Shell :: sed replace number 
Shell :: height not divisible by 2 (3308x1975) Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height 
Shell :: get public key pem from cert 
Shell :: Is the docker daemon running? 
Shell :: batteryreport win10 
Shell :: install simplejwt django 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =