If you keep the last 30 days of files in a directory, the files are automatically deleted 30 days ago #find /tmp -mtime +30 -type f -name *.sh[ab] -exec rm -f {} \\; /tmp -- set the directory to look up; -mtime +30 -- set the time to 30 days ago; -type f -- set the type of lookup to file; -name *.sh[ab] -- set the file name to include sha Or shb; -exec rm -f -- delete after the search is completed; Tip: After writing this command to crontab, it can automatically complete the search and delete the work. The other method is similar. #find . -mtime +30 -type f
single, enter single-user mode, then change the startup mode to id:3:initdefault: in /etc/inittab (t
One serial port control Usually we use direct serial port for video server, video recorder, switcher
Under Linux is a regular software installation method in addition to binary form of software distrib
A flash drive is one of the most useful tools a person can have. With it, you can back up critical d
Solve SecureCRT Chinese garbled
Linux server is running for 210 days or so
Linux operating system to add new hard disk method
How to use FSlint to find and delete duplicate files on Linux
Linux sector by sector read and write block device
Modification of file access rights under Unix operating system
How to get the motherboard information under Linux system
CentOS configuration disk quota
How to activate Windows 7 system
Win7 steps to set the image display as a thumbnail
Remove boot and press F1 to enter _ latest xp system
There is no start menu Win8 system how to shut down
Compressed file open is a garbled solution
How to lock the IT toolbar in Windows 7 system
Solve the Windows7 system audio service as a method of running
Why Win7/Win8.1 is going to be upgraded to the new Win10
Win7 pure version of the system under the broadband Internet error 733 how to do