5 Ways to Check Available Memory in Ubuntu 20.04 code example Example: ubuntu memory command line watch -n 5 free -m