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

2 lines
125 B
Bash

#!/bin/bash
echo "$(df -h /|awk '{print $3}'|tail -1|sed 's/G//g') GiB/$(df -h /|awk '{print $2}'|tail -1|sed 's/G//g') GiB"