5 lines
99 B
Bash
Raw Normal View History

2025-07-27 10:30:33 +02:00
#!/bin/bash
mem_info=$(free -h | awk '/Mem:/ { printf(" %5s/%s \n", $3, $2) }')
echo ${mem_info}