I have some long log files. I can view the last lines with tail -n 50 file.txt
, but sometimes I need to edit those last lines.
How do I jump straight to the end of a file when viewing it with nano
?
nano
I have some long log files. I can view the last lines with tail -n 50 file.txt
, but sometimes I need to edit those last lines.
How do I jump straight to the end of a file when viewing it with nano
?
Best Answer
Open the file with
nano file.txt
.Now type Ctrl + _ and then Ctrl + V