6 lines
108 B
Bash
Executable file
6 lines
108 B
Bash
Executable file
#!/bin/sh
|
|
|
|
disk_usage=$(df -h | rg /dev/nvme0n1p2 | awk '{print $4}' | head -n 1)
|
|
|
|
echo " $disk_usage "
|