动态网站制作指南 [  QQ表情  ]
[ 投票调查 ]
[ 企业邮箱 ]
[ 网站空间 ]
网络编程 | 站长之家 | 网页制作 | 图形图象 | 操作系统 | 冲浪宝典 | 软件教学 | 网络办公 | 邮件系统 | 网络安全 | 认证考试 | 系统进程
ASP源码 | .Net源码 | PHP源码 | JSP源码 | JAVA源码 | CGI源码 | VB源码 | C++源码 | Delphi源码 | PB源码 | VF源码 | 汇编 | 服务器
电脑书籍下载:程序设计书籍 | 数据库教程书籍 | 平面与多媒体书籍 | 网络通讯书籍 | 系统管理书籍 | 网络安全书籍 | 认证考试书籍
Firefox | IE | Maxthon | 迅雷 | 电驴 | BitComet | FlashGet | QQ | QQ空间 | Vista | 输入法 | Ghost | Word | Excel | wps | Powerpoint
asp | .net | php | jsp | Sql | c# | Ajax | xml | Dreamweaver | FrontPages | Javascript | css | photoshop | fireworks | Flash | Cad | Discuz!
当前位置 > 网站建设学院 > 操作系统 > Linux教程
文章搜索服务
邮件订阅
输入你的邮件地址,
你将不会错过任何关于:
[ Linux教程 ]的信息



本月文章推荐
.Lilo.conf (LILO 配置文件) 手册.
.lilo大杂耍.
.寻找Linux下的网络邻居.
.实用技巧:使用LoadRunner监控Li.
.RedHat AS 3.0下高可用性集群配置.
.利用Linux Shell只对更新的文件进.
.Linux下OpenOffice.org安装3D效果.
.Linux操作系统桌面环境GNOME 2.2.
.如何在Linux系统下用DMA方式传输.
.Samba剖析与定制技巧.
.如何在RedHat Linux系统下安装QQ.
.Fedora Linux 8系统下JDK 6.0的配.
.在Linux下配置TCP/IP.
.在linux操作系统中如何截获系统调.
.vi介绍编 (2) 参数简介.
.Linux系统安装模式下硬盘分区的选.
.最简单的解决Linux下Openoffice乱.
.Linux 网管 123 --- 第7章. 自订.
.Ubuntu Linux系统设定服务自行开.
.用SecureCRT上传和下载Linux服务.

350个linux命令详解

发表日期:2008-1-8 |


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
注销用户
linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn

        
COMMAND 命令 DESCRIPTION 注解
Files and Directory
文件及目录
cd /home enter to directory '/ home'
进入/home目录
cd .. go back one level
向上返回一个目录
cd ../.. go back two levels
向上返回两个目录
cd go to home directory
前往/home目录
cd ~utente go to home directory
前往/home目录
cd - go to previous directory
进入先前所在目录
pwd show the path of work directory
显示目录路径
ls view files of directory
显示目录内包含的文件
ls -F view files of directory
显示目录内包含的文件
ls -l show details of files and directory
显示目录内文件的详细信息
ls -a show hidden files
显示隐藏文件
ls *[0-9]* show files and directory containing number
显示目录内包含有数字的文件
lstree show files and directories in a tree starting from root
以树形显示文件
mkdir dir1 create a directory called 'dir1'
建立dir1目录
mkdir dir1 dir2 create two directories simultaneously
建立两个目录
mkdir -p /tmp/dir1/dir2 create a directory tree
建立目录树
rm -f file1 delete file called 'file1'
删除名为file1的文件
rmdir dir1 delete directory called 'dir1'
删除名为dir1的目录
rm -rf dir1 remove a directory called 'dir1' and contents recursively
删除dir1目录及所含文件
rm -rf dir1 dir2 remove two directories and their contents recursively
删除dir1 dir 2两个目录及所含文件
mv dir1 new_dir rename / move a file or directory
重命名/移动 文件或文件夹
cp file1 file2 copying a file
复制文件
cp dir/* . copy all files of a directory within the current work directory
复制目录及目录内所有文件到当前目录
cp -a /tmp/dir1 . copy a directory within the current work directory
复制目录到当前目录
cp -a dir1 dir2 copy a directory
复制目录
ln -s file1 lnk1 create a symbolic link to file or directory
建立文件或目录的符号链
ln file1 lnk1 create a physical link to file or directory
建立文件或目录的物理链
touch -t 0712250000 fileditest modify timestamp of a file or directory
- (YYMMDDhhmm)
修改文件或目录的时间戳
- 格式:YYMMDDhhmm
linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn

        
COMMAND 命令 DESCRIPTION 注解
File search
文件搜索
find / -name file1 search file and directory into root filesystem from '/'
在 / 目录中搜索文件或目录
find / -user user1 search files and directories belonging to 'user1'
搜索属于user1的文件和目录
find /home/user1 -name *.bin search files with '. bin' extension within directory '/ home/user1'
在/home/user1目录内搜索包含有.bin的文件
find /usr/bin -type f -atime +100 search bynary files are not used in the last 100 days
搜索100天未用的文件
find /usr/bin -type f -mtime -10 search files created or changed within 10 days
搜索10天内创建或更改的文件
find / -name *.rpm -exec chmod 755 {} ; search files with '.rpm' extension and modify permits
搜索带有修改属性的.rpm的文件
find / -name *.rpm -xdev search files with '.rpm' extension ignoring removable partitions as cdrom, pen-drive, etc.…
搜索全属性的.rpm的文件
locate *.ps find files with the '.ps' extension - first run 'updatedb' command
搜索扩展名为.ps的文件
- 需要先运行updatedb命令
whereis halt show location of a binary file,source or man
搜索halt的路径
which halt show full path to a binary / executable
取得halt列表并寻找当halt作为命令给定时所运行的文件
linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn

        
COMMAND 命令 DESCRIPTION 注解
Mounting a Filesystem
挂载文件系统
mount /dev/hda2 /mnt/hda2 mount disk called hda2 - verify existence of the directory '/ mnt/hda2'
挂载名为hda2的硬盘设备
umount /dev/hda2 unmount disk called hda2 - exit from mount point '/ mnt/hda2' first
取消挂载名为hda2的硬盘设备
fuser -km /mnt/hda2 force umount when the device is busy
强行取消挂载设备
umount -n /mnt/hda2 run umount without writing the file /etc/mtab - useful when the file is read-only or the hard disk is full
不记录挂载信息直接取消挂载
- 当硬盘为只读或硬盘已满时很实用
mount /dev/fd0 /mnt/floppy mount a floppy disk
挂载软盘
mount /dev/cdrom /mnt/cdrom mount a cdrom / dvdrom
挂载CDrom或DVDrom
mount /dev/hdc /mnt/cdrecorder mount a cdrw / dvdrom
挂载CD-RW或DVDrom
mount /dev/hdb /mnt/cdrecorder mount a cdrw / dvdrom
挂载CD-RW或DVDrom
mount -o loop file.iso /mnt/cdrom mount a file or iso image
挂载一个文件或ISO光盘镜像
mount -t vfat /dev/hda5 /mnt/hda5 mount a Windows FAT32 file system
挂载windows FAT32文件系统
mount /dev/sda1 /mnt/usbdisk mount a usb pen-drive or flash-drive
挂载USB闪存设备
mount -t smbfs -o username=user,password=pass //winclient/share /mnt/share mount a windows network share
挂载windows网络共享
linux commands line v1.0 - LinuxGuide.it linux命令详解翻译 - moon-blog.cn
上一篇:实用技巧:配置Linux操作系统环境变量 人气:1782
下一篇:Linux环境下学C语言开发要学些什么 人气:1664
浏览全部linux命令详解的内容 Dreamweaver插件下载 常用网页广告代码全集
  最新网站源码 最新软件下载
2008-7-24 Sablog-X v2.0 预览版
2008-7-24 帝国备份王EmpireBak 2008 正式版
2008-7-24 网趣网上购物系统时尚版 v8.2
2008-7-24 纵横B2B电子商务系统XYECS!B2B v
2008-7-24 e路小说小偷 v1.2.0723
2008-7-24 凌风美女图片站程序 v2.2
2008-7-24 TOM15电影收索程序
2008-7-24 清风信息自动采集生成系统 v1.0
2008-7-24 QQ邮箱编辑器 v1.0 (小小菜刀ASP
2008-7-19 UltraEdit 简体中文增强版 14.10
2008-7-19 CentOS 5.2 i386 LiveCD
2008-7-19 Snapture多功能相机 v1.4
2008-7-19 iAcces中文输入法 v1.0Build016
2008-7-19 Cookbook烹饪秘籍 v2.5
2008-7-19 苹果专用DVD转换工具 v1.1.59汉化
2008-7-19 Modem修复软件ZiPhone修改版04.0
2008-7-19 AgileMessenger即时通讯工具美化
2008-7-19 Sketches画图软件 v0.7b6破解版


  发表评论
姓 名: 验证码:
内 容:
[ 汉字翻译拼音 ] [ 广告代码 ] [ 符号对照表 ] [ 进制转换 ] [ 经典小工具 ] [ 个税计算 ] [ 汉字简繁转换 ] [ 普通单位换算 ] [ 公制单位换算 ]
[ 生辰老黄历 ] [ 国内电话区号 ] [ 国家代码与域名缩写 ] [ 文字加密解密 ] [ 健康查询 ] [ 万年历 ] [ 手机号码查询 ] [ ip搜索 ] [ Google PR查询 ]
业务联系 | 广告刊登 | 频道合作 | 投稿荐稿 | 联系方式 | 加入收藏 | RSS订阅
Copyright © 2000-2008 www.knowsky.com All rights reserved | 网络实名:动态网站制作指南 | 沪ICP备05001343号