Skip to main content

5.1) Wildcard Symbols


There are a number of special symbols in Unix, like ‘~’ to represent the home directory, ‘.’ to represent the current directory, ‘..’ to represent the directory above you, etc. Another special symbol is the ‘*’ which is called a wildcard. Let’s say that when I type ls in my current directory I have the following files and directories as listed below:

Analysis
File
File1
File2
File354
Storage

If you have a lot of files in a directory then you may find it necessary to limit what you ‘print’ (i.e. show) on the screen.