how to delete a line in nano code example
Example 1: display number of lines in nano linux
Press
Alt+#
or
Alt+Shift+3
Example 2: delete text in nano
# Which is actually to cut, but just cut and don't paste
Ctrl-k
Press
Alt+#
or
Alt+Shift+3
# Which is actually to cut, but just cut and don't paste
Ctrl-k