how to get to end of line shell

C++
Just press "CTRL + e" to navigate to the end and "CTRL + a" to navigate
to the beginning of the your shell command line :)
Source

Also in C++: