[ubuntu-uk] Saving history in the terminal

Mark Einon mark.einon at gmail.com
Wed Oct 31 11:27:45 UTC 2012


On 31 October 2012 11:20, scoundrel50agmail <scoundrel50a at gmail.com> wrote:
> No I didnt see anybodys reply.....in the window that is open, if you hit the
> up down arrows you can see what you have typed in in that window......you
> close it its gone......havent checked ~/.bash_history entered it into the
> terminal and it says permission denied....I used to be able to use the up
> down arrows when I opened a terminal and find what I had written before.....

Sounds like you don't have the ability to access ~/.bash_history. An
easy fix is to delete this file (as long as there's no important
history you want to keep) :

sudo rm ~/.bash_history

And then try opening a terminal, typing some commands, closing then
re-opening another terminal.

Cheers,

Mark



More information about the ubuntu-uk mailing list