The history command can be used to retrieve the the commands you have previously typed in a shell.

learn more… | top users | synonyms

4
votes
1answer
2k views

Delete Alt-F2 history [duplicate]

Possible Duplicate: How can I delete the command line history from the dash? Can anybody tell me configuration or file address where it is (on GNOME 3). On gnome2 it was in config ...
0
votes
2answers
2k views

Delete message from jabber history in Empathy 3.2

I accidentially sent a message with private information to a friend of mine on Jabber (using Empathy 3.2). I now want to delete this message from the history, but I cannot find where Empathy 3.2 ...
0
votes
2answers
832 views

clean history script not working

I'm creating a script to run in the start up that says: _cleanthehistory () { /bin/echo "cleaning the history" history -c } _cleanthehistory The deal here is that this does not work from the ...
0
votes
2answers
4k views

How to delete history of Totem and Gedit in gnome shell?

How can I delete history of Totem and Gedit in gnome shell? I can not find a menu option to do this, unlike in gnome 2.
3
votes
0answers
587 views

How can I make the LXTerminal accept the arrow key for history search? [closed]

In the bash, one can enable a "search-as-you-type-like" behaviour by changing eg. the .inputrc : 1 ## arrow up 2 "\e[A":history-search-backward 3 ## arrow down 4 ...
4
votes
1answer
610 views

How to delete Gwibber history?

How do I delete Gwibber history in 11.10? I deleted the account and created the account again, but some of the tweets deleted on the web still appear on Gwibber.
2
votes
1answer
74 views

How do I make sure that I have received a fix for a bug?

The symptoms of my computer crashing was very similar to those reported in the comments section of a particular bug in an application that I download and get updates via a ppa. Recently, the ppa's ...
3
votes
1answer
3k views

How can I set HISTSIZE for all users?

How can I set HISTSIZE for all users on Ubuntu 10.04? I've tried adding the following lines to both /etc/profile and /etc/bash.bashrc. I'm not sure I understand the difference between the two files ...
42
votes
4answers
28k views

Bash history handling with multiple terminals

I use mainly Terminator, and it's usually opened with 3 split terminal windows. I also use Gnome terminal for various reasons. I'm wondering how is bash history handled in this case as I sometimes ...
47
votes
3answers
17k views

Is it possible to make writing to .bash_history immediate?

I often open lots and lots of Terminals [Right now I have 7 open on this workspace] and I often search history with grep to find a command I've just written recently, but I don't want to hunt down the ...
63
votes
4answers
32k views

Bash history search, partial + up-arrow

I have searched, but not found anything on this. I am looking for a functionality in bash, using a terminal. Way back when, I had a user on a debian system, and a friend set me up with a convenient ...
6
votes
2answers
17k views

How do I SSH and remove all previous SSH activity history?

I want to remove any and all activity logs for SSH remotely. How do I get to it? My account on the remote server doesn't have admin privilege, and as such I just want to remove user to user ...
1
vote
1answer
1k views

How can I make my command history start counting from 0

If I type the following: history -c history I get 1110 history. Why does clearing the command history not reset the counting to 1 and how can I reset the count? Note: It is resetting the number, ...
3
votes
3answers
1k views

Is there a desktop-wide privacy mode?

With Zeitgeist now tracking everything I really think we need a privacy mode like the one Firefox offers. There is a ridiculous amount of history and caches being stored in Ubuntu from thumbnails to ...
5
votes
2answers
2k views

Deleting last few hours of zeitgeist history like in Firefox?

I want to open secret files on Ubuntu Natty and after my work delete the history of open files or any recorded activity during last: one hour three hours one day one week etc... how can I do this, ...
12
votes
4answers
12k views

Bash command history not working

The command history between sessions is not getting saved. I'm using guake and the history for the session is working fine. I noticed that .bash_history had some commands I executed in sudo -s mode ...
24
votes
2answers
9k views

How do you share history between terminals in zsh?

How can it be achieved so that every command that is entered, is visible in every open terminal's history? When having multiple terminals open, the history isn't shared, i.e. what you entered in one ...
76
votes
5answers
51k views

How do I show apt-get package management history via command line?

Is there a way to show the history of packages that were changed by apt-get via command line?
3
votes
1answer
480 views

How can I see the last time a program was run?

Is there any way I can see what programs were running at a specific time? Is there a way to see the last time a program was run? I'm trying to see if a certain program was running yesterday because ...
40
votes
5answers
19k views

How to avoid duplicate entries in .bash_history

The same command is listed in my history again and again. How can I avoid this? I know it's possible via HISTCONTROL but I haven't found the right way.