Unable to run HQL queries script from terminal using beeline

I want to run script with HQL queries from terminal using beeline. I have tried using “beeline jdbc:hive2://m02.itversity.com:10000/” connection string but it doesn’t work. Could you please help with connection string we can use to run queries from terminal using beeline.

@Mridushi_Shukla Please try with the below connection string after launching the beeline shell.

!connect jdbc:hive2://m02.itversity.com:10000/;auth=noSasl

@BaLu_SaI - I can connect to beeline by the method you told.
But concern is different, my requirement is to run HQL queries script via hadoop terminal using beeline connection string.
How is it possible to run hql script from beeline shell?