Windows more equivalent in Linux
Displays large text files one screen at a time, allowing you to scroll up and down.
more
less
less
less
Overview
What this command does
On Windows, "more" is used to page through large files. On Linux, the closest practical mapping shown here is "less". Displays large text files one screen at a time, allowing you to scroll up and down. This reference is grouped under File Management → File System.
Windows → Linux context
What changes when you use this on Linux?
Equivalent task, different tool
Windows more maps to less for this task. Treat this as a workflow mapping rather than a character-for-character syntax translation.
Portable across the compared distros
The Debian/Ubuntu, Fedora and Arch rows use the same command in this mapping. Package availability or defaults can still vary, so check the installed tool version when an option behaves differently.
For the broader concept behind this mapping, read Linux filesystem for Windows users.
Practical tasks
Common use cases
Page through large files
Displays large text files one screen at a time, allowing you to scroll up and down.
less file.txt
Open file for paging
/ pattern
Search forward inside less
? pattern
Search backward inside less
Ready to run
Copyable Linux commands
Review paths, device names, package names and permissions before running any command.
less bigfile.txt
less /var/log/syslog
ps aux | less
grep -r "error" . | less
Walkthrough
Examples with explanations
# Windows: more bigfile.txt
less bigfile.txt # open file (scroll with arrows)
less /var/log/syslog # great for reading log files
# Pipe output into less:
ps aux | less # scroll through long output
grep -r "error" . | less
# Inside less: press / then type to search
Reference
Common options and variations
| Command or option | Use |
|---|---|
less file.txt | Open file for paging |
/ pattern | Search forward inside less |
? pattern | Search backward inside less |
n / N | Jump to next / previous match |
G | Jump to end of file |
g | Jump to beginning of file |
q | Quit less |
Distro differences
Debian/Ubuntu vs Fedora vs Arch
Debian/Ubuntu, Fedora and Arch all use "less" for this mapping. The command syntax shown here is portable across the three rows, although installed versions and system defaults can still vary.
| Distribution | Package manager / base | Equivalent command | Difference to notice |
|---|---|---|---|
| Debian/Ubuntu | same command | less |
Same command on this distribution. |
| Fedora | same command | less |
Same command on this distribution. |
| Arch | same command | less |
Same command on this distribution. |
Keep learning