💻 Software
How do you run `less` and have it run a search pattern automatically?
Fresh7 days ago
Mar 15, 202630160 viewsConfidence Score0%
0%
Problem
I'm trying to run in Linux, and I want it to search for something immediately after launch. It's basically like doing this: Then press , type a search pattern like , then press enter, and press to find each subsequent result. I'd like less to be launched, and then search for a pattern. There doesn'…
Error Output
$ less
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do you run `less` and have it run a search pattern automatically?
Low Risk
You can use + to send arbitrary commands. E.g.: (as posted by nik) is equivalent to .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix