The following are some useful special sequences that helps one edit command lines with a bit of ease:
- Ctrl-B – Move one character backward
- Ctrl-F – Move one character forward
- Ctrl-A – Move to the beginning of the line
- Ctrl-E – Move to the end of the line
- Ctrl-U – Delete everything from the beginning to the cursor.
- Ctrl-K – Delete everything from the cursor till the end.