Wednesday, June 12, 2013

Type History to Review Your Recent Terminal Commands


Sometimes you need to enter a long command again, or find something you typed long in the past. Sure, you can press the up and down arrows to navigate a fair amount of your history but that isn't practical when you have to search for something awhile back. Instead, just type history. When you do, your terminal window will display a list of recent commands. From there you can find the one you're looking for. If you know it was within a certain range, you can specify how far back in your history you want to go (e.g. "history 25").
Original Article: http://lifehacker.com/type-history-to-review-your-recent-terminal-commands-512385895

No comments:

Post a Comment