In some times I want quit from my running command in HBase shell, such as a scan ops usually take too much time.
So I want to stop running this command, but I don't want exit HBase shell.
The usual way for me to stop the running command, I used Ctrl+C, which can stop the running command, but it also exit from HBase shell, then I need to take more time to reEnter the HBase shell.
Is there any better way to solution for this?
ctrl+s pauses the screen(console), ctrl+q resumes it back, it can be used to control console output of any application (like cat longfile.txt etc.) not just hbase shell.
https://en.wikipedia.org/wiki/Software_flow_control#Applications
Another alternative option is to use ctrl+z which suspends the current foreground job the impact will be a paused screen. To resume the suspended task just press fg
to bring it back to foreground.
https://www.thegeekdiary.com/understanding-the-job-control-commands-in-linux-bg-fg-and-ctrlz/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With