Dave's Brain

Browse - Computer Tips - How can I delete what I have entered on a line and start again?

Date: 2015oct11
Language: bash
OS: Linux
Keywords: cancel, ctrl, emacs, getline

Q.  How can I delete what I have entered on a line and start again?

A.  Do:

Control-U
Use Control-A to get back to the start without deleting. Use Control-W to erase a word.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.