文件名字的构成(建议与规则)
1.文件名字应该有描述的意义
2.文件名只能包含字母和数字(文件名可以包含字母数字#_),文件名不要带空格,不能重复shell中字符,[]只有一个字符进行匹配
3.文件不要以+号或者以-号开头(有的以-号开头删不掉),在某些系统中-代表系统的特殊文件
4.不要与系统命令相同名
5.AIX的大小写敏感
6.以.开头的为隐藏字符
7.文件名最大为255个字符
原文
AIX File Names
1.Shoule be descriptive of the content
2.Should use only alphanumeric characters - UPPERCASE,lowercase,number,#,@,_
3.Should not include imbedded blanks
4.Should not contain shell metacharacters : _*?></;&![]|$\'"()
5.Shoule not begin with "+" or "-" sign
6.Should not be the same as a system command
7.Are case-sensitvice
8.File names starting with a .(dot)are hidden from the normal ls command
9.The maximum number of characters for a file name is 255