Filed under: Terminal Tips
Terminal Tips: Change Safari's history limit
Are you tired of not being able to see all of your browsing history in Safari? Well, with this Terminal hack, you can easily change how many items (or how many days) Safari shows in the History menu. To do this, just open Terminal (/Applications/Utilities/Terminal) and type in one of the following commands: Limit to number of items:
defaults write com.apple.Safari WebKitHistoryItemLimit 2000Limit to number of days:
defaults write com.apple.Safari WebKitHistoryAgeInDaysLimit 30You can you can also use both commands to get both a day and an item limit.
Want more tips and tricks like this? Visit TUAW's Terminal Tips and Mac 101 sections.

![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)


Reader Comments (Page 1 of 1)
resonance man said 2:40PM on 9-04-2008
Anyone know how to do the same with the Firefox 3 History menu?
Reply
John Russell said 1:06AM on 9-05-2008
I was about to go set mine to go back at least a year, but then I looked, and Safari's history already goes back even further. What's the default?
Reply