Clearing the command cache of terminal (gnome-terminal)

Marius Gedminas marius at pov.lt
Fri Mar 28 12:28:31 UTC 2008


On Fri, Mar 28, 2008 at 02:12:04PM +0200, Ioannis Vranos wrote:
> How can I clear the previous commands cache of terminal
> (gnome-terminal)?

GNOME Terminal doesn't keep the command history; the shell does that.
The default shell is bash, and you can clear its history with

  history -c

and/or by removing ~/.bash_history.

Marius Gedminas
-- 
MCSE == Marginal Computer Software Enthusiast
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080328/67494bb7/attachment.sig>


More information about the ubuntu-users mailing list