Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: Bash

Use df—a disk tool—in a Bash script on a Debian VPS—script:
#!/bin/bash\ndf -h / | awk 'NR==2{print $5}' > disk_usage.log
On Vultr run:
./usage.sh
—expect usage percentage Monitors hosting storage

Back to All Tips