1. [Home](<https://delaparra-services.nl/>) 
1. [Knowledge hub](<https://delaparra-services.nl/knowledge-hub>) 
1. [less](<https://delaparra-services.nl/knowledge-hub/less>)

  

Category: CLI commands 

# less

  Explained by [Reinier de la Parra](<https://delaparra-services.nl/about>)  Updated November 25, 2026    

## What is less?

 

less: Less — View a file page by page — press q to quit, / to search. ` less ` shows a file one screen at a time. You scroll with the arrow keys or space bar, search with ` / `, jump to the end with ` G `, and quit with ` q `. Unlike an editor, it does not load the whole file at once, so it opens multi-gigabyte log files instantly. It is also the pager behind ` man `, ` git log ` and ` git diff `.

 

Definition source [Coders Lingo](<https://coderslingo.com/resources/open-dataset/>), [CC BY 4.0](<https://creativecommons.org/licenses/by/4.0/>)

 

## Frequently asked questions about less

  

### What should you keep in mind with less?

 

A few options help with logs. ` less +F file ` follows new lines like ` tail -f `; press ` Ctrl+C ` to stop following and scroll, and ` F ` to resume. ` -S ` stops long lines from wrapping, which keeps wide logs readable, and ` -N ` shows line numbers. Because ` less ` cannot change the file, it is a safe way to inspect configuration and logs on a production server.

 

## At a glance

   CategoryCLI commands Explained by[Reinier de la Parra](<https://delaparra-services.nl/about>) UpdatedNovember 25, 2026

 

## More CLI commands terms

 

- [grep](<https://delaparra-services.nl/knowledge-hub/grep>) 
- [head](<https://delaparra-services.nl/knowledge-hub/head>) 
- [kill](<https://delaparra-services.nl/knowledge-hub/kill>) 
- [ls](<https://delaparra-services.nl/knowledge-hub/ls>) 
- [man](<https://delaparra-services.nl/knowledge-hub/man>) 
- [mkdir](<https://delaparra-services.nl/knowledge-hub/mkdir>)

 

[All terms starting with L](<https://delaparra-services.nl/knowledge-hub#letter-l>)

 

## Skills

 

- ### CLI flag safety

 

Use before running or suggesting shell commands with flags, especially destructive or broad ones (-f/--force, -r/-R recursive, -a/--all, -y/--yes, prune, --hard), and when a user asks what a flag means (-v, -q, -n/--dry-run, -h, -o, -p, -t, -u, -w, -x, -c, -i). Explains flags per tool and prefers dry runs and narrow scopes.

 [View skill](<https://delaparra-services.nl/skills/cli-flag-safety>) [Download zip](<https://delaparra-services.nl/skills/cli-flag-safety/download>) 
- ### Bash Defensive Patterns

 

Master defensive Bash programming techniques for production-grade scripts. Use when writing robust shell scripts, CI/CD pipelines, or system utilities requiring fault tolerance and safety.

 [View skill](<https://delaparra-services.nl/skills/bash-defensive-patterns>) [Download zip](<https://delaparra-services.nl/skills/bash-defensive-patterns/download>) 
- ### Debian Linux Triage

 

'Triage and resolve Debian Linux issues with apt, systemd, and AppArmor-aware guidance.'

 [View skill](<https://delaparra-services.nl/skills/debian-linux-triage>) [Download zip](<https://delaparra-services.nl/skills/debian-linux-triage/download>)

 [Download all skills (zip)](<https://delaparra-services.nl/knowledge-hub/less/skills.zip>)

 

## Manuals

 

- [The terminal commands you actually need](<https://delaparra-services.nl/manuals/terminalcommandos-die-je-nodig-hebt>) 
- [The terminal and PowerShell](<https://delaparra-services.nl/manuals/de-terminal-en-powershell>)

 

## Related services

 

- [Your own coding agent](<https://delaparra-services.nl/services#service-06>)

If you want to use a coding agent, we provide all the infrastructure to help it work efficiently.

 

## Need any help?

 

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.

  [Get in touch](<https://delaparra-services.nl/availability>)

[HTML version](https://delaparra-services.nl/knowledge-hub/less)
