Trailblazer #3 — Transcript
Full transcript
- 0:00For my third Trailblazer activity, I
- 0:02wanted to compare the difference between
- 0:04these pager functions, the more and the
- 0:06less command.
- 0:08And it's because in the lecture, both
- 0:10commands looked like they had the same
- 0:12idea compared to cat,
- 0:13where they showed one text screen at a
- 0:16time.
- 0:17But when I tried them, they behaved
- 0:18differently, whereas when I would use
- 0:20the LS
- 0:22function
- 0:24like this,
- 0:26and then I would do less
- 0:28or I'll do more first.
- 0:30Um I wouldn't be able to use the arrow
- 0:32keys, and when I would reach the end
- 0:35using the space bar,
- 0:38it would keep the text on screen and it
- 0:41would drop me back to the prompt,
- 0:42where when I would use
- 0:45less instead,
- 0:49I would be able to use my arrow keys and
- 0:55when I would reach the end,
- 0:58it would keep me on this page until I
- 1:00press Q,
- 1:01where it won't even show up
- 1:03on
- 1:06on my screen anymore. And this is where
- 1:08I used AI to help me understand why this
- 1:10is the case and explained to me that
- 1:11more is the much older, much simpler
- 1:14tool
- 1:15and it's mostly moves forward and quits
- 1:18at the end of the file,
- 1:19whereas the less can scroll backwards,
- 1:21search both directions, and highlight
- 1:23matches.
- 1:25And it explained to me that the text
- 1:27vanishes at the end because the less
- 1:29uses the terminal's alternative screen,
- 1:32where
- 1:33the more prints into the normal scroll
- 1:35back, as we can see here.
- 1:37Then I asked why I would choose one over
- 1:39the other.
- 1:40And the AI pointed me pointed out that
- 1:43the less isn't always guaranteed to be
- 1:45installed and especially in other
- 1:48systems, while more is almost always
- 1:51installed.
- 1:52And we can check this by making the
- 1:53command
- 1:55such V
- 1:58more to be
- 2:02And they'll show up here. And if it
- 2:05doesn't show up, it just means it isn't
- 2:06installed.
- 2:08I also asked if I could make the less
- 2:10function act like the more by adding a
- 2:12flag.
- 2:13And
- 2:15the flag that matches more are dash E
- 2:17which exits exits at the end and capital
- 2:20X which keeps the text on screen. And we
- 2:22can see this if we do slash E X
- 2:26nums
- 2:28X.
- 2:29The text will behave as usual where we
- 2:31can use the arrow keys and if we reach
- 2:33the end
- 2:35this text will stay on screen.
- 2:38AI was able to speed things up for me
- 2:41because I would be able to ask it
- 2:43follow-up questions instead of searching
- 2:44through the textbook.
- 2:46And it always helps me avoid making
- 2:48wrong assumptions because before I
- 2:50thought I would be able to use a flag
- 2:53dash R and it quickly corrected me that
- 2:55no, these are the other ones that I
- 2:56should use.
- 2:58Um some key takeaways that I
- 3:01got from this was to use less by default
- 3:04because it does everything that the more
- 3:05function does and more
- 3:07and keeps the more function in mind for
- 3:10other systems where less might not be
- 3:13available.
- 3:14Thank you.
About this transcript
This page contains the full transcript of Trailblazer #3 by Marcelo Cruz Meza, generated from the public captions YouTube serves with the video. The transcript has 504 words across 91 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to choose a caption track available on the video.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, caption language selection, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.