To import database using terminal in Linux use the following snippet:

Copy to Clipboard

Just remember to rename the database and extracted .sql file.