How To Check If Your Linux System Supports AVX and AVX2

In this brief tutorial, we will learn how to check if your Linux system supports AVX and AVX2 instructions from commandline.