How To Clear The Mac Command Line With A Single Keystroke

How To Clear The Mac Command Line With A Single Keystroke

Mac: We love the command line for its power and speed, but if you make a mistake in a lengthy command, editing can be fiddly. If you want to wipe out everything you typed and start again, you can clear what you typed with a simple keyboard shortcut: Control+U.

When you press those keys, the entire line goes away. It’s a simple tip many readers may already know, but it’s a very useful one. Without it, you’d have to sit and press the delete key until every individual character disappeared.

6 Mac OS X 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


One response to “How To Clear The Mac Command Line With A Single Keystroke”