punktdateien/eww/scripts/get-disk-space-home.sh

3 lines
133 B
Bash
Raw Normal View History

2023-12-08 17:33:11 +01:00
#!/bin/bash
echo "$(df -h /home|awk '{print $3}'|tail -1|sed 's/G//g') GiB/$(df -h /home|awk '{print $2}'|tail -1|sed 's/G//g') GiB"