I am new to Shell script, here I am trying extract top 5 records from the hive table using shell script.
running ./smaple1.sh [putty]
#!/bin/ksh hive -