Sometimes I'll accidentally/instinctively double tab in a directory I probably shouldn't have. In the current case, the reason I'm writing this, it is on an old, very full cifs drive.
Of course, this causes the controlling terminal to hang waiting for the directory listing, Ctrl+C does nothing since it's sending an interrupt to the wrong process (the listing was spawned in a sub-shell, I assume).
Is there any way to kill this listing? Is it something that's visible in a process list or do I just have to wait for the listing to come through (it doesn't seem like there's a timeout).
This is in Bash on Ubuntu 16.04.
Not a duplicate of "how to disable". I don't want to disable the feature, I want to know how to halt it when it's been run accidentally on a directory listing that will take a very long time.