O'Reilly logo

OCA Oracle Solaris 11 System Administration Exam Guide (Exam 1Z0-821) by Michael Ernest

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Shell Metacharacters

You should know something about globbing before leaving this topic. Globbing is the term for using special characters to match filenames on the command line. Unlike regular expressions, which use special characters to match values in an arbitrary string of text, globbing only operates on the files in the directory you apply them to, usually the current directory.

To appreciate the service globbing provides, it’s helpful to imagine a directory with a few dozen files or more in it. Now say you want a long listing (ls -l) of just six of the files, which have some common element in their names. With globbing, it’s possible to winnow out the filenames you don’t want without having to type in each of the six files you do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required