#!/bin/sh mem="$(free -h | awk '/^Mem:/ {print $3 "/" $2}')" echo "$mem"