Unix Filename Conventions and Constraints
* Unix-legitimate filenames are any
combination of these three classes of characters:
Upper and lower case letters:
| A - Z and a - z
|
Numbers
| 0 - 9
|
Periods, underscores, hyphens
| . _ -
|
Note that line spaces (aka "whitespace") are not
allowed in filenames.
The Unix shell will think you mean more than one file.
Examples
- Good Filenames
- fieldnotes.940629
- a legitimate unix filename
- Fieldnotes.940629
- different from above becaues of the capital F
- Bad Filenames
- fieldnotes 06-29-94
- Two files, one called "fieldnotes" another called
"06-29-94" because of the line space between the words.
- fieldnotes-06/29/94
- A mess because the Unix shell will attempt to interpret
the slash characters as directory dileneators.
This page last updated:
Thu Apr 8 09:16:57 PDT 1999