5 commands to check memory usage on Linux

Here is a list of commands along with examples, which can be used to check memory (RAM and swap) usage on Linux system.