FG
💻 Software

How can I use command to open the first search result with vi?

Fresh5 days ago
Mar 15, 20261295 views
Confidence Score0%
0%

Problem

Every time I need to find a file and then open it, I have to use : find ./ -name ****.properties. , then copy the result, and then vi "paste the result here" . If I need to use a mouse, it can be a little trouble. So is there any better way to do this?

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I use command to open the first search result with vi?

Low Risk

will open all files in a single instance. To open just the first, use

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment