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
800 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
180 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
36 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
383 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 ...
1
vote
1answer
1k 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
17 views

Get Activity Log in Linux

I don't know what was the size of files and in which folder they were put.but my little brother copied some files from one folder to another one.I am unable to get those files back.Is there any way so ...
0
votes
1answer
247 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
500 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
89 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 ...
2
votes
0answers
61 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
21 views

Is there a terminal solution for recent visited files?

This post where are the files and dirs "recently used" stored? shows that some file stores the recently visited files by GTK3 applications. Is there a solution for recently visited files ...
0
votes
0answers
21 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
46 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 ...