- No.
- 16
- Date
- Learning goal
- Terminal Start, lesson 5
- Level
- 2 of 3
Command of the day No. 16: less and /
Purpose: Reads long files page by page and searches them.
Syntax: less file, then /word and Enter
Example:
less Documents/notes.txt
Book train tickets
Return library books
Pay the power bill
Back up the laptop
Fix the bike light
(END) Shows the screen of the program in a terminal 6 lines high.
Options:
Try it in the terminal Share image
Fills in the command. Nothing runs until you press Enter. In less type /laptop and press Enter. n jumps to the next hit, q quits.