tar -zcvf /home/bak/web/web_mantis_`date +%Y%m%d`.tar.gz /usr/local/apache2/htdocs/mantisday=`date -d'-7 day' +' %d'`# keeps a 7-day backup and keeps a backup of 1st of each month if [ "$day" != "01" ]; then
dayDelete=`date -d'- 7 day' +'%Y%m%d'`
#Delete multiple files at the same time find /home/bak/web/-name "web_*_$dayDelete.tar.gz"
self-entertainment, I decided to start a Linux server, then execute the ld & ldquo;rm –rf /&rd
ifconfig -a View all NIC information of Linuxifconfig eth0 down Turn off eth0 network cardifconfig e
AWK Stands for ‘Aho, Weinberger, and Kernighan‘Awk is a scripting language which is use
You can try it, but dont do bad things. Fortunately, I need a password to modify m
Getting Started with Linux Commands: Basics of System Security Commands
Run DOS commands in Linux environment
Linux user disk space restrictions Brief description
Fedora install virtualbox kernel error
Fedora 18 will support UEFI Secure Boot
Interserver VPS ovz architecture assumes that VPN
Linux disk partitioning, formatting, verification, mounting basic tutorial
Real-time synchronization of Linux and Windows system files
The three query methods for the last reboot time of the Linux system
How to find the zombie process and Kill, can't kill the parent process and kill
Win7 system 360 browser up and down sliding page is very card how to do
Tencent account chaos Westward Journey computer version of what software
Those wonderful commands under Linux
The way to set Win 8's "weather" to Celsius
Win8 super three big shutdown small coup
How to turn off the default navigation sound in win7 computer?