Files
storage/scripts/disk-usage
T

6 lines
89 B
Bash
Executable File

#!/bin/sh
DEVICE="$1"
df | grep "$DEVICE" | tr -s ' ' | cut -d' ' -f 2-3 | tr ' ' '\n'