Bash Trick

With bash you have the luxury of having all your past commands available with the history command. If you run the same command several times it will be entered multiple times in your history file.

To counteract this (make it only log once) add the following line to your /etc/bashrc file.

export HISTIGNORE="&"

Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
Logged IP:
To prevent spam please submit by clicking the kitten: