Horje
how to compare percentage value in shell script Code Example
how to compare percentage value in shell script
size=$(df -kh | awk '$6 == "/var" {print $5}')
size=${size%"%"}
if (( size < 80 )); then
    echo "/var is less than 80 % full"
fi




Shell

Related
initiation git windows 10 Code Example initiation git windows 10 Code Example
ssh tunel Code Example ssh tunel Code Example
linux borrar configuracion residual Code Example linux borrar configuracion residual Code Example
nuget Apache.Ignite Code Example nuget Apache.Ignite Code Example
run kong Code Example run kong Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11