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?

To comment on this article and other InfoWorld content, visit InfoWorld's LinkedIn page, Facebook page and Twitter stream.
From CIO: 8 Free Online Courses to Grow Your Tech Skills
Notice to our Readers
We're now using social media to take your comments and feedback. Learn more about this here.