随笔分类 - linux
linux crontab 命令,最小的执行时间是一分钟,如需要在小于一分钟内重复执行
摘要:编写shell脚本实现 crontab.sh [plain] view plain copy #!/bin/bash step=2 #间隔的秒数,不能大于60 for (( i = 0; i < 60; i=(i+step) )); do $(php '/home/fdipzone/php/cron
阅读全文
Ubuntu常用命令
摘要:1、apt-get 常用指令: 系统更新 apt-get update apt-get upgrade apt-get dist-upgrade 安装/卸载软件 apt-get install eg. #sudo apt-get install vim apt-get remove eg. #sud
阅读全文
Linux下mysql定时自动备份并FTP到远程脚本
摘要:1.添加backupmysqleveryday.sh(vi /data/shell/backupmysqleveryday.sh) #!/bin/sh #this shell is user for backup mysql data everyday #author:www.ieliwb.com
阅读全文
使用Shell脚本对Linux系统和进程资源进行监控
摘要:ShellLinux脚本摘要:Shell语言对于接触Linux的人来说都比较熟悉,它是系统的用户界面,提供了用户与内核进行交互操作的一种接口。本文我们以Bash做为实例总结了使用Shell对系统和进程资源进行监控的一些内容,希望对您能有帮助。Shell语言对于接触Linux的人来说都比较熟悉,它是系...
阅读全文
浙公网安备 33010602011771号