[ubuntu-uk] Saving history in the terminal

scoundrel50agmail scoundrel50a at gmail.com
Wed Oct 31 11:34:45 UTC 2012


On 31/10/12 11:27, Mark Einon wrote:
> 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
>
Yippee that worked, thank you so much, now I found another problem, I 
cant use aptitude it says aptitude not found, do I have to install it?

thanks

John



More information about the ubuntu-uk mailing list