posted @ 2012-07-01 15:48 hurner Views(198) Comments(0) Diggs(0) Edit
5. 查看CPU,内存等信息http://hi.baidu.com/wangsaha/item/b421bdfbeee0ee16e3e3bd1b查看 /proc对于“/proc”中文件可使用文件查看命令浏览其内容,文件中包含系统特定信息:Cpuinfo 主机CPU信息Dma 主机DMA通道信息Filesystems 文件系统信息Interrupts 主机中断信息Ioprots 主机I/O端口号信息Meninfo 主机内存信息Version Linux内存版本信息4.http://www.bitscn.com/os/linux/200904/158624_2.html禁用多余的虚拟终端,编辑/e Read More
posted @ 2012-07-01 15:33 hurner Views(275) Comments(0) Diggs(0) Edit
find . | xargs grep '115.182.68.236'sudo find . | xargs sudo grep 'incorrect passwor d'find /home/guo/bin -name /*.txt | xargs grep 'jdbc' Read More
posted @ 2012-07-01 15:24 hurner Views(468) Comments(1) Diggs(0) Edit
/etc/crontab在此文件中对文件夹中cron.daily, cron.weekly, cron.monthly中的任务执行。# /etc/crontab: system-wide crontab# Unlike any other crontab you don't have to run the `crontab'# command to install the new version when you edit this file# and files in /etc/cron.d. These files also have username fields,# t Read More
posted @ 2012-07-01 14:02 hurner Views(387) Comments(0) Diggs(0) Edit
http://www.cnblogs.com/jiangyao/archive/2010/10/19/1855256.htmlhttp://kb.cnblogs.com/a/1893220/name=`date +%Y%m%d`# date后面有空格mysqldump -u backup -h localhost -ppassword wordpress > /usr/local/virus/mysqlback/$name#-p与后面的密码没有空格4、修改/etc/crontab#nano /etc/crontab在下面添加:01 3 * * * root /usr/sbin/bakmy Read More
posted @ 2012-07-01 13:24 hurner Views(562) Comments(0) Diggs(0) Edit