Linux Missive
Popular Posts
Build RPM From Scratch in RHEL 9
Who invented Linux?
'ping' is not recognized in Windows 10
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%
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment