日期:2014-05-16  浏览次数:20809 次

350个linux命令详解

  

COMMAND 命令 DESCRIPTION 注解
System information
系统信息
arch show architecture of machine
显示主机的体系结构
uname -r show used kernel version
显示kernel版本信息
dmidecode -q show hardware system components - (SMBIOS / DMI)
显示硬件系统部件
hdaparm -i /dev/hda displays the characteristics of a hard-disk
显示某一硬盘特点
hdparm -tT /dev/sda perform test reading on a hard-disk
执行某一硬盘读取测试
cat /proc/cpuinfo show information CPU info
显示CPU信息
cat /proc/interrupts show interrupts
显示中断信息
cat /proc/meminfo verify memory use
核实内存使用情况
cat /proc/swaps show file(s) swap
显示文件swap情况
cat /proc/version show version of the kernel
显示kernel版本信息
cat /proc/net/dev show network adpters and statistics
显示网络信息
cat /proc/mounts show mounted file system(s)
显示挂载系统信息
lspci -tv display PCI devices
显示PCI设备
lsusb -tv show USB devices
显示USB设备
date show system date
显示系统日期
cal 2007 show the timetable of 2007
显示2007年日历
date 041217002007.00 set date and time
- MonthDayhoursMinutesYear.Second
设置时间和日期 - 格式:月日时分年.秒
clock -w
save changes on BIOS
保存BIOS设置
linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn

?

COMMAND 命令 DESCRIPTION 注解
Shutdown, Restart of a system and Logout
系统关机,重启或注销
shutdown -h now shutdown system
关闭系统
init 0
shutdown -r hours:minutes planned shutdown of the system
定时关机
shutdown -c cancel a planned shutdown of the system
取消定时关机
shutdown -r now reboot
重启系统
reboot
logout leaving session
注销用户
li