Linux Missive
Popular Posts
300 Linux interview questions and answers
How to Interrupt GRUB and Override init process in Linux
ansible-playbook fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to start service nginx: Job for nginx.service failed because the control process exited with error code.
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