title: Linux command for physical memory, getting the value only
body: <p>In Linux <code>cat /proc/meminfo | grep MemTotal</code> gets back <code>MemTotal:     12298824 kB</code></p>
  
  <p>I want only the numbers here</p>
  
  <p>so i wrote <code>cat /proc/meminfo | grep MemTotal | cut -d':' -f2</code> which gave me <code>12298824 kB</code></p>
  
  <p>I only want the numbers here, can anyone help me?</p>
  
  <p>Note: <code>cat /proc/meminfo | grep MemTotal | cut -d':' -f2 | cut -d'k' -f1</code> gives me the solution <code>12298824</code>, but is there a better way? one liner?</p>