find memory used using free command in linux code example Example: Ram usage in linux $ cat /proc/meminfo