Super User is a question and answer site for computer enthusiasts and power users. 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 am using 'iterm' as my terminal at macosx. But I don't see all my command I type when I do 'history' and I don't see my previous command (copy and paste) using the UP arrow key?

Is there a way to fix it?

Thank you.

share|improve this question
Can you give us a repeatable example? – Bill Reardon Dec 5 '09 at 8:10
History is handled by your shell (most likely GNU bash), not by your terminal program. – Tadeusz A. Kadłubowski Dec 5 '09 at 11:05
I have same problem – juanpablo Jul 10 '11 at 5:41

Check you home dir in iTerm.

$ cd ~
$ ls -la | grep .bash_history

If it found it do a

$ cat .bash_history

This will show your history. Not in the exact same format as 'history' but it will do I think. Or you can search within your history with the shortcut CTRL + r. It will show something as (reverse-i-search). Type your command you did earlier and it will return a result.

share|improve this answer

You must log in to answer this question.

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