1、检测系统能否运行基于 Compiz 的 Unity 3D 界面的指令
$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile x86/MMX/SSE2
OpenGL version string: 3.0 Mesa 9.0
Not software rendered: yes
Not blacklisted: yes
GLX fbconfig: yes
GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes
Unity 3D supported: yes
2.查看系统是32位还是64位有两种方法:查看long的位数,返回32或64;查看文件信息,包含32-bit就是32位,包含64-bit就是64位
$ getconf LONG_BIT $ file /sbin/init
3.统计文件夹下的文件数
$ ls -l | grep "^-" | wc -l
或
$ find ./ -type f | wc -l
阅读(2039) | 评论(0) | 转发(0) |