Type History To Review Your Recent Terminal Commands

Type History To Review Your Recent Terminal Commands

Sometimes, you want to find a command you typed in a while ago. You can press the up and down arrows to navigate some of your history, but that isn’t practical when you have to go looking far back. A quicker way is to simply 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. For example, “history 25”.

6 Mac Terminal TIps [Colmjude]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments