No single shortcut to go to end of file

Solution 1:

See https://support.apple.com/en-us/HT201236 for a full list. Ctrl-A (nearly) always takes you to the beginning of the line.

Solution 2:

On my Mac, command+ ("command up arrow") takes me to the top of a file/document/webpage. Same sequence with "Down arrow" takes me to the bottom of a file/document/webpage.

If that doesn't work for you, let us know & we'll try to help further.

For future reference, Apple has a list of shortcuts on their support website. It also includes links to app-specific shortcuts.