Tuesday, April 30, 2024
141
rated 0 times [  141] [ 0]  / answers: 1 / hits: 108831  / 2 Years ago, sat, october 22, 2022, 10:24:11

some times while I am editing my files with nano I am facing difficulty while deleting some big line, I need to hold Del key for long time.



is there any shortcut I can found to delete the total line at a time ?



I have checked the man-page , still no use.



Thank you.


More From » command-line

 Answers
7

You can use Ctrl+K to delete a line.



But strictly speaking Ctrl+k does not delete lines permanently. The most recent set of deletions are stored in a buffer. These lines may be re-inserted at the current cursor location using Ctrl+U. You can use this to cut and paste.



Here you can find some useful shortcuts of nano


[#27969] Sunday, October 23, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
riffnkful

Total Points: 390
Total Questions: 123
Total Answers: 110

Location: Puerto Rico
Member since Sat, Mar 13, 2021
3 Years ago
riffnkful questions
Thu, Nov 17, 22, 04:24, 1 Year ago
Mon, Nov 28, 22, 01:40, 1 Year ago
Mon, Jul 11, 22, 13:24, 2 Years ago
Sun, Feb 5, 23, 05:06, 1 Year ago
;