Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

This happens sometimes if the VM bumps up against upper limits of memory and has to hit swap heavily for extended periods (a few minutes or more). When this happens and I type asdf at the prompt it looks like:

$ No command 'asdf' found, did you mean:
 Command 'asdfg' from package 'aoeui' (universe)
 Command 'sadf' from package 'sysstat' (main)
 Command 'sdf' from package 'sdf' (universe)
asdf: command not found


Note that asdf isn't showing up after $.

The obvious answer is to just kill the tab and start a new one. Still, I have to wonder if there's a way to reset a bash terminal that is misbehaving like this. I tried bash and it didn't make any difference.

share|improve this question
up vote 9 down vote accepted

Yes, you can reset it, using the reset command.

share|improve this answer
oh lord, I should have known to at least try that... – jcollum Jun 9 '14 at 19:51
Don't worry, took me years to figure that one out. :) – kraxor Jun 9 '14 at 19:52
@jcollum please accept the answer, if it helped you – PradyJord Jun 10 '14 at 12:47
@Jord I'm on it, I like to let the question sit for a few days in case a better answer shows up. – jcollum Jun 10 '14 at 16:59
@jcollum, we're going to reach 500 days in a month. Just saying... ;) – kraxor Sep 27 '15 at 8:16

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.