

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 3
click for more info
Not enough gems
Cost: 6 gems
1: Welcome to Learn Linux
incomplete
2: What Is a Terminal?
incomplete
3: What Is a Shell?
incomplete
4: Command Line vs. GUI
incomplete
5: Variables
incomplete
6: History
incomplete
7: Navigate History
incomplete
This lesson's interactive features are locked, please to keep using them
You'll often want to re-run a command. You could just type it out again, but assuming you don't have the WPM of ThePrimeagen, that's a pain.
You can use the ↑ and ↓ arrows to quickly cycle through your command history.
Pressing the ↑ key walks backward through the commands you've run, one at a time. Once you've gone too far back, the ↓ key walks you forward again toward your most recent command. It's a huge time-saver: instead of retyping a long command, you just arrow up to it and press Enter.
If your terminal is feeling cluttered with text, you can clear it with the clear command, or by pressing Ctrl+L.
This won't delete your history, it will just clear the screen.