Nano end of file

Nano is one of the simplest editor in Linux systems. It is installed by default on most Linux distributions.

When working on a text file it is often required to quickly jump to the end of the file or top of the file.

There are two keyboard shortcuts to go to end of file in nano.

First option is to use Alt + /

Second option is CTRL-W + CTRL-V

If you want to go to top of the file, you can use ALT + \

Another option:
nano + [file]

  • Eg:
    nano + file.txt

“+” is used to start in specific line

  • Eg:
    nano +20 file.txt

if no line specified, it will start at the last line
hope it helps to anyone searching a no-keyboard-shortcut option