punktdateien/eww/scripts/get-disk-space-home.sh
2023-12-08 17:33:11 +01:00

2 lines
133 B
Bash

#!/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"