Wildcard symbols

​There are two special characters that can be used in Linux (BSD, Mac OS) terminal as wildcards. These characters are useful while listing files using terminal. These characters are ? and *. Question mark is used to replace one single character, where * is used to replace any number of characters.

For example when a filename is only partially known, then it possible to use one of these characters to list many files that match search condition.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator