#!/bin/bash used=$(df -h / | awk 'NR==2 {print $3 "/" $2}') echo "$used"