Display amount of free and used memory in the system In Ubuntu

By using free you can display amount of free and used memory in the system. Free displays the total amount of free and used physical and swap memory in the system, as well as the buffers used by the kernel. The shared memorycolumn should be ignored; it is obsolete.