# Keyboard Shortcuts at the Prompt

Ctrl+A and Ctrl+E jump to the start and end of the command line, Alt+B and Alt+F move a word at a time, Ctrl+W and Ctrl+U delete a word or the line, and Alt+. brings back the last command's last argument.

![Cheat sheet for the lesson Keyboard Shortcuts at the Prompt: Ctrl+A and Ctrl+E jump to the start and end of the command line, Alt+B and Alt+F move a word at a time, Ctrl+W and Ctrl+U delete a word or the line, and Alt+. brings back the last command's last argument.](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/b728662dd6c0428bbff488866b273a59.webp)

- Category: Bash
- Level: Apprentice
- Tags: argument, Command Line, keyboard-shortcut, linux, unix
- Updated: November 10, 2026

Source: https://www.ask-codey.com/cheat-sheets/bash-keyboard-shortcuts-cheat-sheet
