We can run Unix commands from Hive shell by using ! sign. We have to append ! sign before a unix command.
E.g. For using date command we have to run it as !date in Hive shell.