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
206 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
130 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
273 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
625 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
33 views

List all manually installed packages similar to history.log file

I searched the whole internet for this but did not find any satisfactory answer for this question. aptitude search ‘~i !~M’ | less does not show the manually installed packages. On my system it ...
1
vote
1answer
490 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
1
vote
1answer
74 views

Graphical terminal misinterpreting input

I've been having this weird problem with typing commands into gnome-terminal. If the command takes up multiple screen lines and I use any backspaces and the stars are in proper alignment the command ...
0
votes
1answer
183 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
439 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
41 views

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

Is there an extension of some kind which ties Bash's history search (via CTRL+R) into the Ubuntu search suggestions generated when searching via the Windows key (in GNOME3)? Something that would just ...
1
vote
0answers
33 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
23 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 ...
0
votes
0answers
32 views

Banshee remember last played and search history

Is it possible to set Banshee so that when I open it, it will resume everything I was doing last time? Cause right now, when I open it it just plays my whole music library, and doesn't remember what I ...