If a command is too long, you can move your cursor to the beginning or the end of the line.

Move to start of the line.

<pre lang="bash">
ctrl+A

Move to end of the line.

<pre lang="bash">
ctrl+E