Let say you have a file that is tracked by Git and has a commit history. Some day you will want to look back to see what has happened with this file. The most basic and powerful tool to do this is the git log command. Using the different options, it can show the commit […]
history
7 Tips – Tuning Command Line History in Bash
7 Tips that can help you to improve you Bash history file. You will learn how to add date and time to bash history file, increase history size, ignore specific commands and much more … Every command that you enter, is stored in the file ~/.bash_history. Run history to see your last commands. You can […]
HowTo: Clear BASH History
Sometimes you don’t want to leave Bash history, because it may contain some sensitive data (e.g. passwords, tokens, etc.). This article will help you to take a full control on your .bash_history file. I will show how to clear the commands history for the current Bash session, how to prevent particular commands from being recorded […]