linux
共 1 篇文章
linux 脚本记录
1、linux设置时间(与授时服务器同步 定时器) 定时器 crontab -e 0 23 * * * /usr/sbin/ntpdate 210.167.182.10>>/root/ntpdatelog.txt 2、文件权限 2.1、 修改文件权限 chmod 777 test.txt 2.2、 修改文件夹及子文件夹权限 chmod -R 777 /home/test/test 3、mysql备份 3.1、mysql备份导出 mysqldump -uroot -ppasswd --skip-lock-tables --single-transaction tsp_surface > /mn…
2016-02-16 18:13 · linux · 脚本