To delete a line you've written at the Linux, macOS, or Unix command prompt, use "Ctrl-U". Works with password prompts too. No need hit backspace multiple times and most modern shells.
To delete a line you've written at the Linux, macOS, or Unix command prompt, use "Ctrl-U". Works with password prompts too. No need hit backspace multiple times and most modern shells.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/nixCraft/statuses/115712378195191091 on your instance and quote it. (Note that quoting is not supported in Mastodon.)