0

I tried to change to a directory using recursive globbing

$ cd /**/pubrepo
^C

^Cç


Ω
^Z
^C
^C
^C
^C

It takes lots of time. but I cannot interrupt the process with Ctrl + C.

  • Why do you want to cd into multiple directories? – Inian Nov 9 '18 at 7:19
  • 1
    @Inian he made a mistake and wants to get out of it, is all. Sawajiri Are you running on a physical or a virtual terminal? – Fabby Nov 9 '18 at 7:52
  • 2
    It is probably not working because the shell is trying to expand every possible pathname on the whole system. I'm thinking that the shell is in an uninterruptible sleep state while waiting for disk. – Kusalananda Nov 9 '18 at 8:03
  • Note: it works for me, but I may have a newer kernel, or some other difference in OS. You may just have to wait. You could start a 2nd terminal to use while waiting. – ctrl-alt-delor Nov 9 '18 at 10:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.