Linux Commands: more vs less - Which File Pager Should You Use? (Beginner Tutorial)
4views
005:26
T
Taught by Celeste AI - AI Coding Coach
View on YouTubeDescription
Learn the difference between the 'more' and 'less' commands in Linux! Both commands display file contents page by page, but 'less' is far more powerful.
🎯 What You'll Learn:
• How to view large files with 'more' - forward scrolling only
• How to navigate files with 'less' - scroll up, down, and search!
• Key differences: less lets you scroll backward, search text, and jump to any position
• When to use each command
• Pro tip: "less is more" - literally!
⌨️ Commands Covered:
• more filename - Basic pager (forward only)
• less filename - Advanced pager (full navigation)
• Space - Scroll forward
• k - Scroll backward (less only)
• /text - Search for text (less only)
• g/G - Jump to start/end (less only)
• q - Quit
📊 Feature Comparison:
✓ Both: Scroll forward, memory efficient
✗ more: Cannot scroll back, no search, no position indicator
✓ less: Full navigation, search, jump to any line
💡 Remember: Most developers prefer 'less' for its extra power!
🔔 Subscribe for more Linux terminal tutorials!
#Linux #Terminal #CommandLine #Bash #LinuxTutorial #Beginner #CLI #more #less #FileViewer
Back to tutorialsOpen in YouTube
Duration
5:26
Published
December 20, 2025
Added to Codegiz
March 15, 2026