macOS Terminal

Move between words

cmd + opt +

cmd + opt +

Move to the end of line

ctrl + e

Move to the start of line

ctrl + a

Clear visible terminal output without killing the process running in the foreground

cmd + k