0

I was trying to fix my usb pen drive in Ubuntu so I ran the dosfsck command tocheck and repair MS-DOS filesystems because the filesystem of USB pen drive is vfat. While it was running, I accidentally closed the terminal. Now I am not able to run any bash script. When I enter ./script.sh (I have permissions for the script) I get inifinite 'y' messages. Please help :(

Thanks, Sou

2
  • 1
    Rebooting hasn't helped ? There is no reason I can see formatting an external drive would break bash interpreter. Is it only bash or also sh or python scripts for instance? Sep 28, 2017 at 9:27
  • 1
    And what is the content of the script?
    – slhck
    Sep 28, 2017 at 13:37

1 Answer 1

0

Actually command "yes" prints infinite "y" in bash. So you must have command "yes" called somewhere, probably in your .bashrc. Just check !

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .