I used this most recently when working on this book. We have thousands of separate files under 17.23 , with -user tim added to select only my own files.)and I sometimes forget which ones I've got checked out. Since there's a lot of clutter in the directory, and several people working there, a simple ls won't do. So I use a find alias to list only the files belonging to me. (It's a version of the find alias described in article
Believe it or not, even that isn't specific enough.
There are a
variety of temporary files created by some of our printing scripts that I
don't want to see.
All of these files have names beginning with a
Obviously, that's about as specific, non-reproducible an example as you're likely to find anywhere! But it's precisely these kinds of special cases that call for a rich vocabulary of tips and tricks. You'll never have to use grep -v for this particular purpose, but you'll find a use for it someday.