this post was submitted on 19 Feb 2026
12 points (80.0% liked)
Linux
12427 readers
356 users here now
A community for everything relating to the GNU/Linux operating system (except the memes!)
Also, check out:
Original icon base courtesy of lewing@isc.tamu.edu and The GIMP
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Or use a
while-readloop anyway?(But don't script
ls)The
findexample should just use-exec grep "USB" {} +also, though-execgenerally is the correct way to do this.