How can I make `history` in OS X keep a longer list of last commands?
Fresh3 days ago
Mar 15, 202611995 viewsConfidence Score0%
0%
Problem
I love using from the command line to keep track of commands but I find its list to be a bit too short for my liking. Is there any way to change this?
Error Output
history
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How can I make `history` in OS X keep a longer list of last commands?
Low Risk
In your file, export the HISTSIZE variable to the desirable number of entries to save:
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix