The history command can be used to retrieve the the commands you have previously typed in a shell.
0
votes
1answer
30 views
Where are ALL ubuntu logs/terminal history stored
In what folders are the logs and key histories stored so that I may make a script to purge them. Is there a specific folder for the hibernation partition or a file by which it keeps the RAM data on ...
1
vote
0answers
60 views
Is Privacy's Delete History button supposed to delete Nautilus' Recent Items?
I've opened two files and deleted the last hour history, in Recent Items' tab, in Privacy options (Ubuntu 13.04).
However, Nautilus keeps showing the two files in Recent files.
I've found the ...
0
votes
1answer
18 views
How can I enable history completion by program in terminator as guake has it?
In guake I can type ls UP-ARROW and it will show ls /home/blah for example. In terminator using up arrow after typing ls just brings me to the command I entered prior. Is there any way to enable this ...
1
vote
2answers
37 views
No duplicated lines in bash history [duplicate]
Supposedly, adding export HISTCONTROL=ignoreboth to .bashrc would do the trick, but what I see in practice is there still exists duplicated lines in my .bash_history file.
You can see my .bashrc ...
0
votes
0answers
10 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 ...
6
votes
2answers
83 views
Using last part of command for next command
When using the command I know a friend of mine who used to re-use last part of previous command. He unfortunately moved far away and I can't get hold of him.
First:
cp -r folder ~/folder
Then he ...
3
votes
1answer
200 views
How to save terminal history manually?
It's my understanding that the history file is updated when the terminal exits. But sometimes my computer crashes out, and the terminal doesn't exit cleanly, and then I lose those commands from my ...
0
votes
4answers
150 views
How do I prevent suggestions in the location bar in Firefox with history empty?
You know what I mean, when you type a letter in the internet browsers address bar it shows suggestions, like when you type y it suggests youtube.com. I believe this has to do with the history of ...
3
votes
1answer
127 views
Clear Linux file system after shutdown / start
I have very specific task. I need to clear the desktop, downloads, documents and so on after every shutdown or finish.
For example, if anyone downloads something using Google Chrome, he will work ...
0
votes
0answers
46 views
Retrieve a command from another, remote bash session
So I was on our laptop, SSH'd into my desktop, dropping some mad bashfu skill. There was one command I ran which was particularly skilful. I'm now about minute walk from the laptop and I really want ...
0
votes
0answers
15 views
which are the programs that affects the delete history option in the privacy setting panel?
I mean, is not pretty clear in the description which are exactly the programs affected. It is just the activity log manager, or also include the internet browser or others system/user logs?
4
votes
3answers
731 views
bash doesn't keep history
I run Ubuntu 12.04, and for some reason bash does not keep my command history. the ~/.bash_history file contains only 3 commands that I typed a few months ago.
How can I fix this?
EDIT:
here's the ...
0
votes
0answers
141 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 ...
13
votes
4answers
16k views
How to clear bash history compeletly?
I want to clear all before command from history of my server. I use history -c it seems all things are cleared but when I ssh to the server,all commands are still there.
How can I clear them ...
0
votes
2answers
65 views
How to delete the history of a specific user in Empathy?
In Empathy, when you go to history, you have the option to delete all history and not for only a specific user.
How to delete the history of a specific user in Empathy people nearby account with ...
3
votes
1answer
264 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 ...
3
votes
2answers
2k views
How do I check if someone accessed my computer?
I need to check the list of files accessed in my computer (ex: yesterday on particular time). Is it possible?
Or
I need to check whether anybody accessed my computer (when I left it unlocked) or ...
5
votes
1answer
307 views
Is there a centralized history file for all the commands run from various terminals?
I am aware that every terminal has it's separate history,which can be viewed by the history command. Commands issued on suppose terminal tty1 will be shown in the history of tty1 only and not in the ...
1
vote
1answer
120 views
Find most recent scp files
A few weeks ago I scp'd some files to my computer from a friend's computer for future use. Now I want to use those files, but I can't remember where I put them and I have looked all over. Is there ...
1
vote
1answer
61 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 ...
2
votes
2answers
315 views
Install history command package
I have Ubuntu 10.04.4 LTS running on a proxmox OpenVZ container.
I imagine it does not come with history because the up arrow on the command line gives me ^[[A
plus...
$ history
-sh: history: not ...
0
votes
0answers
27 views
two admins with 1 account see history of commands
We are two users on 1 ubuntu servers with single account.
I want to see commands the other person entered, but when I type history I only see commands from my connection.
5
votes
4answers
1k views
How to find history of shell commands since machine was created?
I created an Ubuntu virtualbox machine a couple weeks ago and have been working on projects off and on in it since then.
Now I would like to find the syntax of some commands I typed in the terminal ...
12
votes
8answers
1k views
Ubuntu Philosophy Question [closed]
I was just switching from Windows to Ubuntu and I started to read this.
And there were quite a few things I did not understand. One was:
"OpenOffice decided not to have a learning curve"
...
5
votes
2answers
723 views
How do I disable the command line history in the dash?
Using Unity, how to clear and disable the RUN (ALT+F2) history?
Not the dash history, not the search history --- the ALT+F2 "run" history.
The Privacy Settings Applet of System Settings doesn't seem ...
3
votes
1answer
708 views
How can I delete the command line history from the dash?
When accessing the command line by pressing Alt+F2 it opens the dash and displays a history of previous commands which have been entered. How can this history be removed?
I've tried using Activity ...
0
votes
1answer
262 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
1answer
524 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
372 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
272 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
1answer
1k views
How to delete history of Totem and Gedit in gnome shell?
How to delete history of Totem and Gedit in gnome shell ?
I can not find that menu item like gnome 2.
Thanks
2
votes
0answers
176 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
500 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
63 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 ...
2
votes
1answer
605 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 ...
13
votes
2answers
2k 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 ...
13
votes
2answers
4k 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 ...
3
votes
2answers
4k 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 ...
20
votes
7answers
3k views
See computer's uptime and history
I was wondering if it is at all possible to find out when the computer was switched on, what files where accessed what folders were opened, what programs run and when the computer was resumed and put ...
0
votes
1answer
185 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, ...
8
votes
8answers
18k views
How do I delete totem's history?
How do I delete totem's history displayed in it's main menu in Natty? For example if I don't want anyone to know I'm watching... ehem Simpsons a lot?
I've tried How can I keep recent files from ...
2
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 ...
2
votes
1answer
192 views
What's the history of Ubuntu?
What is the history of Ubuntu? How did Ubuntu originate? Who were the people involved?
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, ...
8
votes
3answers
2k 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 ...
8
votes
1answer
2k 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 ...
11
votes
1answer
4k views
Show apt-get installed packages history via commandline?
Is there a way to show the history of installed packages that were installed by apt-get via commandline?
2
votes
1answer
266 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 ...
13
votes
5answers
3k 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.

