terminal.cab
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.

Command of the day No. 16: less and /. Purpose: Reads long files page by page and searches them. Example: less Documents/notes.txt. Remember: less only shows, it never changes the file.
The same card as an image, 1080 x 1350 pixels.

Today's card ยท All cards so far