最近接触Solaris,可是/usr目录下的那几个缩写使我非常困惑,以前在Linux中压根就没有见过。好不容易都查到了。个人认为,了解这些是那些单词的缩写,使用起来,更加得心应手。
不知道各位大神是不是都了解了,用搜索的方式在该板块似乎没有找到,在这里发一下。不对的地方纠正一下。
几个目录的含义
/usr/openwin
是关于Open Windows的目录,Solaris 9以前版本 系统自带的桌面环境,Solaris 10以后,改为了CDE和Gnome
/usr/dt
是关于CDE桌面环境的目录,为什么用dt呢?个人认为是DeskTop,是Solaris 10默认的桌面环境,所以用dt了
/usr/sfw
是关于Solaris FreeWare的 软件目录,包括bin,lib,man文档等
/usr/xpg4
/usr/xpg6
是关于X/Open Portability Guide 4,6标准的目录,几个欧洲的Unix系统制造厂商成立的协会,后来IBM,Fujitsu,AT&T等21家公司相继加入,它比POSIX的使用更加广泛
/usr/css
是关于C Compile System的目录,包括一些 开发程序用的工具
/usr/ucb
这个不用说了,是关于BSD系统的,University of California Berkeley的简称,最容易理解
下面内容,引自这里: http://www.unix.com/solaris/5961 ... n-usr-xpg4-bin.html
摘自: http://bbs.chinaunix.net/thread-1823937-1-1.html
不知道各位大神是不是都了解了,用搜索的方式在该板块似乎没有找到,在这里发一下。不对的地方纠正一下。
几个目录的含义
/usr/openwin
是关于Open Windows的目录,Solaris 9以前版本 系统自带的桌面环境,Solaris 10以后,改为了CDE和Gnome
/usr/dt
是关于CDE桌面环境的目录,为什么用dt呢?个人认为是DeskTop,是Solaris 10默认的桌面环境,所以用dt了
/usr/sfw
是关于Solaris FreeWare的 软件目录,包括bin,lib,man文档等
/usr/xpg4
/usr/xpg6
是关于X/Open Portability Guide 4,6标准的目录,几个欧洲的Unix系统制造厂商成立的协会,后来IBM,Fujitsu,AT&T等21家公司相继加入,它比POSIX的使用更加广泛
/usr/css
是关于C Compile System的目录,包括一些 开发程序用的工具
/usr/ucb
这个不用说了,是关于BSD系统的,University of California Berkeley的简称,最容易理解
下面内容,引自这里: http://www.unix.com/solaris/5961 ... n-usr-xpg4-bin.html
QUOTE:
ccs = C Compilation System, contains binaries u
sed to build programs. This directory is deprecated in latest Solaris Express where these binaries are in /usr/bin
xpg4 = Xopen Portability Guide Issue 4, contains binaries strictly compliant with several POSIX and other standards. The differences with the former ones are usually details in options supported and behavior.
There is also /usr/xpg6/bin, /usr/openwin/bin (Open Windows commands), /usr/dt/bin (CDE desktop commands), /usr/sfw/bin (Solaris freeware) and various other.
Solaris Express is introducing /usr/gnu/bin to provide Gnu binaries with their custom extensions and specificities.
xpg4 = Xopen Portability Guide Issue 4, contains binaries strictly compliant with several POSIX and other standards. The differences with the former ones are usually details in options supported and behavior.
There is also /usr/xpg6/bin, /usr/openwin/bin (Open Windows commands), /usr/dt/bin (CDE desktop commands), /usr/sfw/bin (Solaris freeware) and various other.
Solaris Express is introducing /usr/gnu/bin to provide Gnu binaries with their custom extensions and specificities.
摘自: http://bbs.chinaunix.net/thread-1823937-1-1.html