Created 10-14-2018 12:43 AM
can anyone please help. How to do this?
Created 10-14-2018 09:52 AM
@sims soni,
In Beeline you can use the below format
!sh ls -al
.
In hive shell you can use
!ls -al
If this works for you, please take a moment to login and "Accept" the answer.
Created 10-16-2018 09:24 AM
Just before the command use the ! mark, we run unix shell commands from the hive.
For example-
! pwd at hive prompt will list the current directory.