标签:ase nbsp div bash free echo bin blog style
#!/bin/bash #date:2015.06.15 mem(){ free -m } hdd(){ df -h } case "$1" in mem) mem ;; hdd) hdd ;; *) echo "Usage: $0 {mem|hdd}" esac
标签:ase nbsp div bash free echo bin blog style
原文地址:http://www.cnblogs.com/syaving/p/7286068.html