Files
dtos-dotfiles/.local/bin/memory
T

5 lines
82 B
Bash
Executable File

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