Next Trivial Utilities 80

pgrep: what's next?

        % ls some/directory | pgrep -I pattern    
        Couldn't open 'file1': No such file or directory; skipping
        Couldn't open 'file2': No such file or directory; skipping
        Couldn't open 'file3': No such file or directory; skipping
        Couldn't open 'file4': No such file or directory; skipping


Next Menu Copyright © 2012 M. J. Dominus