shell(一)
来源:互联网 发布:淘宝卖家陈曦 编辑:程序博客网 时间:2024/05/22 01:45
#!/bin/bash
rate=$(df -h |grep /dev/sda3 |awk '{print $5}' |cut -d "%" -f1)
if [ $rate -ge 10 ]
then
echo "/dev/sda5 is full !!!"
fi
rate=$(df -h |grep /dev/sda3 |awk '{print $5}' |cut -d "%" -f1)
if [ $rate -ge 10 ]
then
echo "/dev/sda5 is full !!!"
fi
0 0
- shell(一)
- Shell(一)
- shell(一)
- shell(一)
- Shell(一)
- shell笔记一:认识shell
- (shell笔记一)shell简介
- shell编程一:初识shell
- shell编程笔记一
- shell Script基礎(一)
- 编写shell (一)
- Shell对话框(一)
- shell学习(一)
- shell编程 一
- shell程序设计(一)
- Shell脚本学习一
- note of SHELL (一)
- shell学习笔记《一》
- 安卓实战之如何快速搭建app架构
- python正则学习总结
- 面试题:程序启动原理
- HTML之表单(笔记)
- 开发模型
- shell(一)
- 数据库2
- CentOS 6.6永久关闭 SELinux与防火墙 的方法
- Java之父类构造器
- 关于函数适配器less< Type>以及bind1st和bind2nd的使用
- Linux(Ubuntu14.04)下安装Anaconda和Spyder
- iOS一个简单的点赞动画
- c++常量指针特点
- AFN与MBProgressHUD的组合封装