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

learn more… | top users | synonyms

1
vote
3answers
466 views

How can I automatically rotate/archive my bash history logs?

I know that Bash has both HISTSIZE and HISTFILESIZE variables that control how long history is saved for, and how much of it is saved. I would like to keep an archive of my history. However, if I ...
1
vote
2answers
155 views

Prevent user from executing history -c command in shell

Is it possible to prevent specific user from executing history -c command in shell.
0
votes
2answers
35 views

Which page opened a tab in firefox?

While searching on well known and reliable pages, I suddenly had a new tab in firefox open with offending content. I closed the page, but it is still visible in the history of firefox. I want to ...
0
votes
2answers
327 views

History list without timestamp and unique the results

Using bash, I save my history with the timestamp. How do print the history omitting the timestamp? alias h=history alias g=grep -i To find lines that I used for heroku, I type: > h | g ...
4
votes
1answer
758 views

Increase or View all Stored History in Gedit

I would like to be able to see the last ~200 files opened in Gedit. I was able to increase the number it shows to 40 using this command: gconftool-2 --type int --set ...
1
vote
1answer
821 views

How do I clear Software Center History?

I have old software center history from way back in June and I would like to clear it all but I have tried sudo rm -rf /var/log/apt/history.log /var/log/dpkg.log ut it did not work
0
votes
1answer
226 views

Bash history for root?

After installing 'ubuntu-desktop' on 12.04-LTS-server, the arrow keys work correctly for history navigation when the user is not root. However, for the root user, the arrow keys (for example, the ...
0
votes
1answer
468 views

How do I view the keyboard buffer?

I would like to be able to find some passwords I forgot to wright down. I use Ubuntu 12.04 LTS. update I realize I cant find passwords on the buffer but i would like to know how to read the ...
3
votes
0answers
72 views

Bash History Search (CTRL+R) in Ubuntu Suggestions?

Is there an extension of some kind which ties Bash's history search (which you get with CTRL+R in a terminal) into the Ubuntu search suggestions generated when searching via the Windows key (in ...
1
vote
0answers
45 views

How can I increase the viewing history (recent documents) in Okular?

I tried looking for an entry/number in ~/.kde/share/config/okularrc but there was nothing to edit there as to allow me to increase the number of saved addresses
0
votes
0answers
11 views

How can I `turn on and off` the functionality for dmesg?

I have used dmesg -c to clean the history but as I go to /var/log/. I found the file dmesg and the records in it remain. It's terrible. The wifi connection information is massive and bothering. I ...
0
votes
0answers
21 views

network history doesn't work

I am aware of Why doesn't System Monitor show activity over ethernet connections? and it worked in ubuntu 14.04 , but I have the same problem now that I went back on ubuntu 12.04 LTS and ...
0
votes
0answers
25 views

Need to determine the bootup history of ubuntu

I need to determine all the times ubuntu has been booted up and a log of all the applications that were used. Something equivalent to history on browsers. How do I do it. Any help will be highly ...