Command line editing tricks

1. Ctrl+a : move the command line to the beginning

2. Ctrl+e : move the command line to the end

3. Ctrl+k : remove the line from the current cursor until end of line

4. Ctrl+u : remove the line from the cursor until beginning of the line

Leave a Reply