This commit is contained in:
Linux User
2022-08-13 18:10:53 +00:00
parent c3bb83fe14
commit 2db42127d0
11 changed files with 71 additions and 12 deletions

6
.local/scripts/9997_disk Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
used=$(df -h / | sed -n '1!p' | cut -d' ' -f22)
total=$(df -h / | sed -n '1!p' | cut -d' ' -f16)
echo " $used/$total"