Linux下查看cpu类型、内存大小、硬盘大小类型等
http://blog.tianya.cn/blogger/post_show.asp?BlogID=2243487&PostID=21072119&idWriter=0&Key=0
Linux下查看cpu类型、内存大小、硬盘大小类型等
CPU查看:
1、 # dmesg | grep CPU
Initializing CPU#0
CPU: Trace cache: 12K uops
CPU: L1 I-cache: 0K, L1 D-cache: 16K
CPU: L2 cache: 256K
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: bfebfbff 00000000 00000000 00000000
CPU: Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(R) CPU 2.53GHz stepping 01
microcode: CPU0 updated from revision 0x0 to 0x12, date = 11222004
2、 # cat /proc/cpuinfo | grep name
model name : Intel(R) Celeron(R) CPU 2.53GHz
3、 # rpm -q --queryformat "%{ARCH}\n" kernel
i686
内存:# cat /proc/meminfo
硬盘:# df命令查看大小
#hdparm -i /dev/hda查看型号
4、dmidecode查看计算机的硬件信息(包括主板等)
相关文档:
document.body.oncopy = function() {
if (window.clipboardData) {
setTimeout(function() {
var text = clipboardData.getData("text&qu ......
The Linux Printing HOWTO http://www.resoo.org/docs/printing/printing-howto.txt
Grant Taylor <gtaylor+pht@picante.com>
v3.30, 19 November 1999
This is the Linux Printing HOWTO, a collection of information on how
to generate, preview, print and fax anything under Linux ......
“/”根目录部分有以下子目录:
/usr 目录包含所有的命令、程序库、文档和其它文件。这些文件在正常操作中不会被改变的。这个目录也包含你的Linux发行版本的主要的应用程序,譬如,Netscape。
/var 目录包含在正常操作中被改变的文件:假脱机文件、记录文件、加锁文件、临时文件和页格式化文件等。
/hom ......
一、理解Linux的单用户多任务,多用户多任务概念;
Linux 是一个多用户、多任务的操作系统;我们应该了解单用户多任务和多用户多任务的概念;
1、Linux 的单用户多任务;
单用户多任务;比如我们以beinan 登录系统,进入系统后,我要打开gedit 来写文档,但在写文档的过程中,我感觉少点音乐,所以又打开xmms
来点音乐 ......
一、chown 命令
用途:更改文件的所有者或组。命令由单词change owner组合而成。
使用示例:
1,更改文件的所有者:
chown jim program.c
文件 program.c 的所有者更改为 jim。作为所有者,jim 可以使用 chmod 命令允许或拒绝其他用户访问 program.c。
2,更改目录的所有者:
chown -R john:build /tmp/src
将目录 ......