DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Writing and editing

Filenames

Filenames can be up to 256 characters long. You can use any characters you like in a filename, except for the following metacharacters, which have a special meaning to the shell:

! ? * " ' ` ; /  $ < > ( ) | { } [ ] ~

It is a good idea to choose meaningful filenames to make it easier to remember what the files contain.

Examples of legal filenames Examples of illegal filenames
qtrone qtr(one)
report.127 report|127
annualreport_1994 annualreport~1994
Filenames only have to be unique within a directory. In other words, you can have as many files named report as you like, as long as there is only one report per directory.


Next topic: Looking at files
Previous topic: Putting text into a file

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003