Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was messing around in Terminal (bad idea, I know, but I'm usually pretty good with it) and now it does what the title says. I know about pressing Control-C to stop it from running, but how do I just stop it running the command without pressing Ctrl-C?

share|improve this question
Welcome to Ask Ubuntu! Did you apply any changes to your .bashrc, .bash_profile or .profile files? Are you able to log in to a virtual terminal (Ctrl+Alt+F1)? (go back with Ctrl+Alt+F7). – gertvdijk Jan 16 '13 at 23:10
No, I don't think I did. (thanks for such a quick reply :) ) – Rain Jan 16 '13 at 23:11
Then please explain "messing around in Terminal". Also, can you install another terminal application and see if that works? (xterm, Konsole, etc.) – gertvdijk Jan 16 '13 at 23:13
just checked with virtual terminal, same thing. same with xterm, too. And I was using this guide to mount an Android MTP device, modified for a Kindle Fire.… – Rain Jan 16 '13 at 23:16
up vote 6 down vote accepted

My guess is that you might have copied and pasted these lines from the guide as-is:

echo “alias android-connect=\”mtpfs -o allow_other /media/GalaxyNexus\”" >> ~/.bashrc

echo “alias android-disconnect=\”fusermount -u /media/GalaxyNexus\”" >> ~/.bashrc

With those special speech marks (also known as smart quotes) having a different meaning to the terminal than regular speech marks, the commands are radically altered from the original intent.

I suggest you check the end of ~/.bashrc for those suspect alias lines, remove them if they are there, and reopen the terminal.

share|improve this answer
Woohoo! Thanks so much, this fixed it! Man, five years of Ubuntu and I couldn't figure that out, time to brush up. – Rain Jan 16 '13 at 23:51
Important lesson for @Rain: Don't just run random commands from tutorials! And I was right in my first comment, but I must have missed this part of the tutorial. So, good find by IlluminAce here! :) – gertvdijk Jan 17 '13 at 1:38

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.