How to delete console/terminal command history

Advertisement

asloane
Joined:
Posts:
3
Location:
SSH Land

How to delete console/terminal command history

How can the archived list of previous used commands in the console/terminal be cleared?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: How to delete console/terminal command history

Delete [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\History]

Reply with quote

asloane
Joined:
Posts:
3
Location:
SSH Land

Re: How to delete console/terminal command history

martin wrote:

Delete [HKEY_CURRENT_USER\Software\Martin Prikryl\WinSCP 2\Configuration\History]

Thanks Martin I'll get into regedit.

I note that the command history has been unpredictable - it records some used commands and not others - why is that?

Reply with quote

martin
Site Admin
martin avatar

Re: How to delete console/terminal command history

asloane wrote:

I note that the command history has been unpredictable - it records some used commands and not others - why is that?
I do not know, I've never experienced this. Can you tell me how to reproduce that?

Reply with quote

Advertisement

You can post new topics in this forum