Basic Operations
Key Bindings
The shell provides bash-like key operations to make it easier to enter commands. Below is a list of key operations that you can use in the shell.
| Ctrl Key | Single Key | Function |
|---|---|---|
| Ctrl + I | TAB | Autocomplete command and file names |
| Ctrl + P | Up | Show previous history |
| Ctrl + N | Down | Show next history |
| Ctrl + B | Left | Move cursor one character left |
| Ctrl + F | Right | Move cursor one character right |
| Ctrl + A | Home | Move cursor to the beginning of the line |
| Ctrl + E | End | Move cursor to the end of the line |
| Ctrl + D | Delete | Delete the character at the cursor position |
| Ctrl + H | Back | Delete the character before the cursor |
| Ctrl + J | Return | Confirm input |
| Ctrl + K | Delete from cursor to end of line | |
| Ctrl + U | Delete from before cursor to beginning of line |
Help Option
Each command is equipped with a help option --help (or -h) that displays the command's detailed usage information.