# Command Line - Shortcuts > [!NOTE] Alt and Option are essentially the same key for most purposes | Shortcut | Platform | Action | Notes | | -------------------- | -------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `Ctrl + c` | | Cancel | Keyboard interrupt causes the program to stop. Can also be used to cancel a typed command without running it | | `Ctrl + \` | | Quit | Attempts to gracefully quit a command. (Does not always work) | | `Up/Down Arrow Keys` | | Command History | Up and Down arrows will move you thru your recent commands. | | `Option + Click ` | macOS | | Moves your cursor to be at the location clicked. | | `Ctrl + r` | | Search History | Searches thru history for a word. Press once to open search, type your terms. Press again to search more. Use Left/Right arrow keys to modify a command when you've found what you want. Or press enter to run the current command. | | `Tab` | | Autofill nearly *anything* | This will autofill things based on context. It can help with filepaths, commands, etc depending on how your shell is configured. Can't remember a command, start typing it and then press `Tab` and see if it fills in what you want. If you hear a sad sound effect. There's nothing to auto-complete. | ![[cli_disclaimer]]