There is no Home, End and other keys in the Mac system, so it is not particularly easy to use, but there are several key combinations that can make Terminal more flexible and convenient. 1. Move the cursor to the beginning of the line: ctrl+a 2. Move the cursor to the end of the line: ctrl+e 3. Clear the screen: