Finding Needles in Haystacks

One of the most powerful parts of the UNIX operating system is its capability to understand complex and sophisticated regular expressions. Combined with wildcards, it's an entire language for describing just what you're looking for or seeking to match, and the grep command offers just the tool you need in order to exploit this new language.

Task 9.1: Filename Wildcards

By now you are doubtless tired of typing every letter of each filename into your system for each example. There is a better and easier way! Just as the special card in poker can have any value, UNIX has special characters that the various shells (the ...

Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.