The ‘free’ command in Linux displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The output can be displayed in various units such as bytes, KB, MB, or GB.