1. Press Control + C: You can press the Control key and the C key to interrupt the currently running command, which will clear the current input and return to the command prompt.
2. Use Control + U: If you want to delete an entire line of commands, you can press the Control key and the U key. This will clear the currently entered command line.