Use terminal command to delete entire line in OS X

A quick way to delete a line at the terminal if you make a mistake in OS X


Here's a useful command that lets you delete an entire line at the terminal in OS X. This is a huge timesaver if you make a mistake while typing in a command.

1. Open a terminal window.

2. Type in your commands.

3. When you make a mistake, use this command to delete the entire line:


For more, see the original article at the link below.


6 Mac OS X Terminal Tips | Colmjude

This article is published as part of the IDG Contributor Network. Want to Join?

Free Course: JavaScript: The Good Parts
View Comments
You Might Like
Join the discussion
Be the first to comment on this article. Our Commenting Policies