Bash shortcuts practice
Learn Bash shortcuts by pressing them on your own keyboard, one short lesson at a time.
36 shortcuts in 6 lessons. Your progress is kept in this browser.
Getting started
- Just learned
- Recalling
- Steady
- Quick
- Fluent
- Second nature
- Learned
- 0
- Due now
- 0
- New
- 0
- Streak
- 0
Lessons
- 1Moving the cursor
Go to the start of the lineGo to the end of the lineBack one wordForward one wordBack one characterForward one characterJump between the start of the line and the cursor
- 2Cutting and pasting, part 1
Cut from the cursor to the start of the lineCut from the cursor to the end of the lineCut the word before the cursorCut the word after the cursorPaste the last cut textDelete the character before the cursorDelete the character under the cursor
- 3Cutting and pasting, part 2
Swap the last two charactersSwap the last two wordsUppercase the wordLowercase the wordCapitalise the wordUndo the last editEdit the command in your editor
- 4History
Search history backwardsCancel the history searchPrevious commandNext commandInsert the last argument of the previous commandRun the command and fetch the next from history
- 5Completion
- 6Programs and screen
Stop the running programSuspend the running programQuit the program and dump coreEnd of input; exits the shell on an empty lineClear the screenPause outputResume output
How practice works
Each lesson is up to ten Bash shortcuts from one group. Press the keys on your own keyboard, or tap them on the keyboard on screen. Some combinations, such as Cmd+W, are kept by your browser or system; those are always tapped, so practising never closes your tab.
- Learn shows each new shortcut once with its keys, then asks for it again without them. A small copy of Bash sets each task up, and pressing the shortcut does the job in it. It schedules the next review.
- Practice goes through a lesson at your own pace. Choose whether the keys show always, after three seconds or never. It does not change your review schedule.
- Speed run asks for every shortcut in the lesson once, without hints, against the clock. Get 70% right first time to pass the lesson; your best time is kept.
- Today's session brings back the shortcuts that are due for review, plus up to eight new ones.
Every shortcut climbs six levels as you recall it first time: just learned, recalling, steady, quick, fluent and second nature. Reviews space out from a day to six months; a miss drops it back two levels and brings it back within minutes. Progress is stored in this browser only, separately for each system.
To look a shortcut up instead, use the Bash keyboard shortcuts list or print the Bash cheat sheet.