The command “free” is a simple and effective way to check memory usage in Linux. It displays the total amount of physical memory (RAM) on your system, as well as the amount of memory that is being used and the amount that is free.
To use the free command, simply open a terminal window and type “free”. The output will look something like this: