I am a regular user of Ubuntu, also used Arch in VM. I recently installed elementary OS. I like to use commands
from terminal for installation or to launch an application.
My question is: Which distribution is elementary OS based on?
It is based on Ubuntu. See the first sentence of the Wikipedia page. So all your regular commands should work well with it.