8 lines
318 B
Bash
Executable File
8 lines
318 B
Bash
Executable File
#!/bin/sh
|
|
# zeigt nur den noch freien Specher in human readable und percent an für Daten und Programme
|
|
|
|
df_root=`df /dev/mapper/fedora_localhost--live-root -h --output=avail,pcent | tail -n 1`
|
|
df_home=`df /dev/mapper/fedora_localhost--live-home -h --output=avail,pcent | tail -n 1`
|
|
|
|
echo [root$df_root][home$df_home]
|