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

learn more… | top users | synonyms

3
votes
1answer
430 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 ...
33
votes
5answers
13k 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.