Linux Missive
Popular Posts
Reset Mysql root Password Ubuntu 22.04
ansible-playbook fatal: [localhost]: FAILED! => {"msg": "Missing sudo password"}
Install Docker Container using Ansible YAML File on Ubuntu 22.04
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