Linux Missive
Popular Posts
Build RPM From Scratch in RHEL 9
SecuGen Hamster Pro 20 with Ubuntu 14.04
ansible-playbook fatal: [localhost]: FAILED! => {"msg": "Missing sudo password"}
Search This Blog
Wednesday, 20 July 2016
Shell script for disk usage
Script for disk usage
cat diskUsage.sh
#!/bin/bash
/bin/df -t ext4 -m | tail -l| awk {'print $3 " " $4 " " $5'}
sh diskUsage.sh
Used Available Use%
1248 16786 7%
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)