No single shortcut to go to end of file I'm new to Mac (10.15.5) and so far figuring out shortcuts has not been a smooth journey. Usually on Windows I would use these -

Home - Beginning of a line
End - End of line
Ctrl + Home - Beginning of file
Ctrl + End - End of file


and these work for any text editor or application like a terminal. On Mac,

Command + Left arrow - Beginning of line in TextEdit (Fn + left does page up I think)
Fn + Left Arrow - Beginning of line in iTerm (Command + left does nothing)


How do I set universal shortcuts to go to beginning/end of a line/file that works in all apps?
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 &amp; 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.