FG

Can you share wisdom on using HISTIGNORE in bash?

Fresh3 days ago
Mar 15, 202613851 views
Confidence Score0%
0%

Problem

I was reading the manpages for bash on the plane and I stumbled across the HISTIGNORE variable. To test it out, I immediately edited my .profile to define this variable: I tested it out and this is great! It excludes plain 'ls' commands from my history without excluding more interesting commands wi…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Can you share wisdom on using HISTIGNORE in bash?

Low Risk

I ignore without commands, , , , , , and : If you include this in your string you can suppress anything as you wish by adding a space at the front of the command: This is my : I've excluded some other stuff that I have in there that are repetitive c…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment