diff --git a/c/ab.html b/c/ab.html index 1825b1e690..16e659bdd4 100644 --- a/c/ab.html +++ b/c/ab.html @@ -10,7 +10,7 @@ ab 命令,Linux ab 命令详解:Apache服务器的性能测试工具 - Linux 命令搜索引擎 - +
@@ -161,11 +161,12 @@ name[:port参数 -

主机:被测试主机。

+

主机:被测试主机。

+ + - - + + \ No newline at end of file diff --git a/c/ack.html b/c/ack.html index a8af6f051a..666f3f28e5 100644 --- a/c/ack.html +++ b/c/ack.html @@ -10,7 +10,7 @@ ack 命令,Linux ack 命令详解:比grep好用的文本搜索工具 - Linux 命令搜索引擎 - +
@@ -138,6 +138,7 @@ ack-grep -G hello.py$ hello # 查找匹配正则
+ - - + + \ No newline at end of file diff --git a/c/alias.html b/c/alias.html index 0101d865bb..4f5bae3a2d 100644 --- a/c/alias.html +++ b/c/alias.html @@ -10,7 +10,7 @@ alias 命令,Linux alias 命令详解:定义或显示别名。 - Linux 命令搜索引擎 - +
@@ -172,11 +172,12 @@

其他参考链接

-

Linux命令详解:[8]alias创建自己的命令

+

Linux命令详解:[8]alias创建自己的命令

+ - - + + \ No newline at end of file diff --git a/c/apachectl.html b/c/apachectl.html index 5afaa8822c..0ee104fd09 100644 --- a/c/apachectl.html +++ b/c/apachectl.html @@ -10,7 +10,7 @@ apachectl 命令,Linux apachectl 命令详解:Apache服务器前端控制工具 - Linux 命令搜索引擎 - +
@@ -70,11 +70,12 @@
  • start:启动Apache服务器;
  • status:显示服务器摘要的状态信息;
  • stop:停止Apache服务器。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/apk.html b/c/apk.html index 1f8801c75b..32e79c2980 100644 --- a/c/apk.html +++ b/c/apk.html @@ -10,7 +10,7 @@ apk 命令,Linux apk 命令详解:Alpine Linux 下的包管理工具 - Linux 命令搜索引擎 - +
    @@ -172,6 +172,7 @@ apk add dropbear + + + - - + + \ No newline at end of file diff --git a/c/apt-key.html b/c/apt-key.html index d2a60f9ba8..20520f23b1 100644 --- a/c/apt-key.html +++ b/c/apt-key.html @@ -10,7 +10,7 @@ apt-key 命令,Linux apt-key 命令详解:管理Debian Linux系统中的软件包密钥 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ apt-key add keyname # 把下载的key添加到本地trusted数据库中。 apt-key del keyname # 从本地trusted数据库删除key。 apt-key update # 更新本地trusted数据库,删除过期没用的key。 - +
    + - - + + \ No newline at end of file diff --git a/c/apt-sortpkgs.html b/c/apt-sortpkgs.html index 29652f01db..8722ae9607 100644 --- a/c/apt-sortpkgs.html +++ b/c/apt-sortpkgs.html @@ -10,7 +10,7 @@ apt-sortpkgs 命令,Linux apt-sortpkgs 命令详解:Debian Linux下对软件包索引文件进行排序的工具 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:指定要排序的包含debian包信息的索引文件。

    +

    文件:指定要排序的包含debian包信息的索引文件。

    + - - + + \ No newline at end of file diff --git a/c/aptitude.html b/c/aptitude.html index 194f3ca52c..c77e5d0175 100644 --- a/c/aptitude.html +++ b/c/aptitude.html @@ -10,7 +10,7 @@ aptitude 命令,Linux aptitude 命令详解:Debian Linux系统中软件包管理工具 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ aptitude clean # 删除下载的包文件 aptitude autoclean # 仅删除过期的包文件 -

    当然,你也可以在文本界面模式中使用 aptitude。

    +

    当然,你也可以在文本界面模式中使用 aptitude。

    + - - + + \ No newline at end of file diff --git a/c/ar.html b/c/ar.html index ea48713b3f..b25760f6de 100644 --- a/c/ar.html +++ b/c/ar.html @@ -10,7 +10,7 @@ ar 命令,Linux ar 命令详解:建立或修改备存文件,或是从备存文件中抽取文件 - Linux 命令搜索引擎 - +
    @@ -184,11 +184,12 @@ d.c
    [root@localhost ~]# ar d two.bak a.c b.c c.c  
     [root@localhost ~]# ar t two.bak       
     d.c
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/arch.html b/c/arch.html index fd55a2f709..29e2d4a78b 100644 --- a/c/arch.html +++ b/c/arch.html @@ -10,7 +10,7 @@ arch 命令,Linux arch 命令详解:显示当前主机的硬件架构类型 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@ x86_64
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 archinfo coreutils 'arch invocation'

  • - +
    + - - + + \ No newline at end of file diff --git a/c/arj.html b/c/arj.html index 176fda60ce..b469a10c70 100644 --- a/c/arj.html +++ b/c/arj.html @@ -10,7 +10,7 @@ arj 命令,Linux arj 命令详解:用于创建和管理.arj压缩包 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/arp.html b/c/arp.html index 9e0300275e..72b48fe877 100644 --- a/c/arp.html +++ b/c/arp.html @@ -10,7 +10,7 @@ arp 命令,Linux arp 命令详解:arp 命令用于显示和修改 IP 到 MAC 转换表 - Linux 命令搜索引擎 - +
    @@ -103,6 +103,7 @@ arp -s 192.168.1.1 00:b1:b2:b3:b4:b5
    + - - + + \ No newline at end of file diff --git a/c/arpd.html b/c/arpd.html index 7575392981..0c8c92ece6 100644 --- a/c/arpd.html +++ b/c/arpd.html @@ -10,7 +10,7 @@ arpd 命令,Linux arpd 命令详解:收集免费ARP信息 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    运行一段时间后,查看结果:

    arpd -l -b /var/tmp/arpd.db
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/arping.html b/c/arping.html index f4c1798314..1161e9bccc 100644 --- a/c/arping.html +++ b/c/arping.html @@ -10,7 +10,7 @@ arping 命令,Linux arping 命令详解:通过发送ARP协议报文测试网络 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@ Unicast reply from 220.181.111.147 220.181.111.147 [00:D0:03:BC:48:00] 2.042ms Sent 8 probes (1 broadcast(s)) Received 8 response(s) - +
    + + - - + + \ No newline at end of file diff --git a/c/arpwatch.html b/c/arpwatch.html index 6cb04d0120..fd2c8cc255 100644 --- a/c/arpwatch.html +++ b/c/arpwatch.html @@ -10,7 +10,7 @@ arpwatch 命令,Linux arpwatch 命令详解:监听网络上ARP的记录 - Linux 命令搜索引擎 - +
    @@ -65,11 +65,12 @@ -f<记录文件>:设置存储ARP记录的文件,预设为/var/arpwatch/arp.dat; -i<接口>:指定监听ARP的接口,预设的接口为eth0; -r<记录文件>:从指定的文件中读取ARP记录,而不是从网络上监听。 - +
    + - - + + \ No newline at end of file diff --git a/c/as.html b/c/as.html index 791e3ae8eb..c5deeafda8 100644 --- a/c/as.html +++ b/c/as.html @@ -10,7 +10,7 @@ as 命令,Linux as 命令详解:汇编语言编译器 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    参数

    -

    汇编文件:指定要汇编的源文件。

    +

    汇编文件:指定要汇编的源文件。

    + - - + + \ No newline at end of file diff --git a/c/at.html b/c/at.html index cfd8ccbae2..85537ad0ae 100644 --- a/c/at.html +++ b/c/at.html @@ -10,7 +10,7 @@ at 命令,Linux at 命令详解:在指定时间执行一个任务 - Linux 命令搜索引擎 - +
    @@ -108,11 +108,12 @@ job 8 at 2013# mail root 0 umask 22此处省略n个字符 date >/root/2013.log - +
    + + - - + + \ No newline at end of file diff --git a/c/atq.html b/c/atq.html index ef8da94fc2..2c1c0fb418 100644 --- a/c/atq.html +++ b/c/atq.html @@ -10,7 +10,7 @@ atq 命令,Linux atq 命令详解:列出当前用户的at任务列表 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@ job 3 at Fri Apr 26 atq 3 Fri Apr 26 12:56:00 2013 a root - +
    + - - + + \ No newline at end of file diff --git a/c/atrm.html b/c/atrm.html index 9b8406ff44..888f4c3548 100644 --- a/c/atrm.html +++ b/c/atrm.html @@ -10,7 +10,7 @@ atrm 命令,Linux atrm 命令详解:删除待执行任务队列中的指定任务 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ 1 Sat May 15 17:00:00 2010 a root atrm 2 # 删除任务2 - +
    + - - + + \ No newline at end of file diff --git a/c/awk.html b/c/awk.html index 04435c5aa0..985f452740 100644 --- a/c/awk.html +++ b/c/awk.html @@ -10,7 +10,7 @@ awk 命令,Linux awk 命令详解:文本和数据进行处理的编程语言 - Linux 命令搜索引擎 - +
    @@ -1122,11 +1122,12 @@ drwxr-xr-x 95 root root 添加命令 | 命令列表 | @@ -1147,7 +1148,7 @@ drwxr-xr-x 95 root root - - + + \ No newline at end of file diff --git a/c/axel.html b/c/axel.html index 72ee78ae6e..8df09fbbbe 100644 --- a/c/axel.html +++ b/c/axel.html @@ -10,7 +10,7 @@ axel 命令,Linux axel 命令详解:多线程下载工具 - Linux 命令搜索引擎 - +
    @@ -96,11 +96,12 @@

    如下载lnmp安装包指定10个线程,存到 /tmp/

    axel -n 10 -o /tmp/ http://www.jsdig.com/lnmp.tar.gz
     
    -

    如果下载过程中下载中断可以再执行下载命令即可恢复上次的下载进度。

    +

    如果下载过程中下载中断可以再执行下载命令即可恢复上次的下载进度。

    + - - + + \ No newline at end of file diff --git a/c/badblocks.html b/c/badblocks.html index ef3d0610fe..fd61a27eef 100644 --- a/c/badblocks.html +++ b/c/badblocks.html @@ -10,7 +10,7 @@ badblocks 命令,Linux badblocks 命令详解:查找磁盘中损坏的区块 - Linux 命令搜索引擎 - +
    @@ -108,11 +108,12 @@
    mkfs.ext3 -c /dev/hda1
     

    代码表示使用-c在创建文件系统前检查坏道的硬盘。

    -

    这个操作已经很清楚地告知我们可以采用mkfs.ext3 -c选项用read-only方式检查硬盘。这个命令会在格式化硬盘时检查硬盘,并标出错误的硬盘“block”。用这个方法格式化硬盘,需要有相当大的耐心,因为命令运行后,会一个个用读的方式检查硬盘。

    +

    这个操作已经很清楚地告知我们可以采用mkfs.ext3 -c选项用read-only方式检查硬盘。这个命令会在格式化硬盘时检查硬盘,并标出错误的硬盘“block”。用这个方法格式化硬盘,需要有相当大的耐心,因为命令运行后,会一个个用读的方式检查硬盘。

    + - - + + \ No newline at end of file diff --git a/c/base64.html b/c/base64.html index ac196eb638..9b9e46705d 100644 --- a/c/base64.html +++ b/c/base64.html @@ -10,7 +10,7 @@ base64 命令,Linux base64 命令详解:base64 编码/解码文件或标准输入输出 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@

    解码文件

    base64 -d file
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/basename.html b/c/basename.html index 383797026a..d7b43dec1b 100644 --- a/c/basename.html +++ b/c/basename.html @@ -10,7 +10,7 @@ basename 命令,Linux basename 命令详解:打印目录或者文件的基本名称 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@

    要构造一个和另一个文件名称相同(除了后缀)的文件名称,请输入:

    OFILE=`basename $1 .c`.o
     
    -

    此命令指定给 OFILE 文件第一个位置上的参数($1)的值,但它的 .c 后缀更改至 .o。如果 $1 是 /home/jim/program.c 文件,则 OFILE 成为 program.o。因为 program.o 仅是一个基本文件名称,它标识在当前目录中的文件。

    +

    此命令指定给 OFILE 文件第一个位置上的参数($1)的值,但它的 .c 后缀更改至 .o。如果 $1 是 /home/jim/program.c 文件,则 OFILE 成为 program.o。因为 program.o 仅是一个基本文件名称,它标识在当前目录中的文件。

    + - - + + \ No newline at end of file diff --git a/c/batch.html b/c/batch.html index ceee905ecd..d6d2a93e65 100644 --- a/c/batch.html +++ b/c/batch.html @@ -10,7 +10,7 @@ batch 命令,Linux batch 命令详解:在系统不繁忙的时候执行定时任务 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ at> echo 1234 at> <EOT> job 5 at Sun Apr 28 08:49:00 2013 - +
    + - - + + \ No newline at end of file diff --git a/c/bc.html b/c/bc.html index 9b56a2cead..79810577ab 100644 --- a/c/bc.html +++ b/c/bc.html @@ -10,7 +10,7 @@ bc 命令,Linux bc 命令详解:算术操作精密运算工具 - Linux 命令搜索引擎 - +
    @@ -102,11 +102,12 @@

    计算平方和平方根:

    echo "10^10" | bc
     echo "sqrt(100)" | bc
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/bg.html b/c/bg.html index 8eee794acf..bbc390dfcc 100644 --- a/c/bg.html +++ b/c/bg.html @@ -10,7 +10,7 @@ bg 命令,Linux bg 命令详解:将前台终端作业移动到后台运行 - Linux 命令搜索引擎 - +
    @@ -94,11 +94,12 @@
  • bash的作业控制命令包括bg fg kill wait disown suspend
  • 该命令需要set选项monitor处于开启状态时才能执行;查看作业控制状态:输入set -o查看monitor行;执行set -o monitorset -m开启该选项。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/bind.html b/c/bind.html index a8bfe7727f..b887532e28 100644 --- a/c/bind.html +++ b/c/bind.html @@ -10,7 +10,7 @@ bind 命令,Linux bind 命令详解:显示或设置键盘按键与其相关的功能 - Linux 命令搜索引擎 - +
    @@ -94,11 +94,12 @@ Press any keys - Ctrl-D will terminate this program ^M 13 0015 0x0d 字母M ^C 3 0003 0x03 Ctrl-C ^D 4 0004 0x04 Ctrl-D 退出 - +
    + - - + + \ No newline at end of file diff --git a/c/blkid.html b/c/blkid.html index 251bcef861..b874c44332 100644 --- a/c/blkid.html +++ b/c/blkid.html @@ -10,7 +10,7 @@ blkid 命令,Linux blkid 命令详解:查看块设备的文件系统类型、LABEL、UUID等信息 - Linux 命令搜索引擎 - +
    @@ -112,11 +112,12 @@ Low-level probing options:

    8、以列表方式查看详细信息:

    sudo blkid -o list
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/blockdev.html b/c/blockdev.html index b0323043dc..413f918757 100644 --- a/c/blockdev.html +++ b/c/blockdev.html @@ -10,7 +10,7 @@ blockdev 命令,Linux blockdev 命令详解:从命令行调用区块设备控制程序 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@

    设置设别为可读写:

    blockdev --setrw /dev/hda4
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/bmodinfo.html b/c/bmodinfo.html index 37737c83a3..b610d500ea 100644 --- a/c/bmodinfo.html +++ b/c/bmodinfo.html @@ -10,7 +10,7 @@ bmodinfo 命令,Linux bmodinfo 命令详解:显示给定模块的详细信息 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ parm: allow_dio:allow direct I/O (de alias: char-major-21-* vermagic: 2.6.9-42.ELsmp SMP 686 REGPARM 4KSTACKS gcc-3.4 depends: scsi_mod - +
    + - - + + \ No newline at end of file diff --git a/c/break.html b/c/break.html index 4454937bc9..deb2b20ac4 100644 --- a/c/break.html +++ b/c/break.html @@ -10,7 +10,7 @@ break 命令,Linux break 命令详解:结束for,while或until循环。 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/builtin.html b/c/builtin.html index 31a74c0949..0d9c40bfac 100644 --- a/c/builtin.html +++ b/c/builtin.html @@ -10,7 +10,7 @@ builtin 命令,Linux builtin 命令详解:执行bash内建命令。 - Linux 命令搜索引擎 - +
    @@ -111,11 +111,12 @@
  • 如果要调用的内建命令被禁用了(包括builtin),那么执行会报错;关于禁用和启用内建命令请参考enable命令。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/bunzip2.html b/c/bunzip2.html index 7ef6cd4f0d..871895ce36 100644 --- a/c/bunzip2.html +++ b/c/bunzip2.html @@ -10,7 +10,7 @@ bunzip2 命令,Linux bunzip2 命令详解:创一个bz2文件压缩包 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    /opt目录下的etc.zip、var.zip和backup.zip进行压缩,设置压缩率为最高,同时在压缩完毕后不删除原始文件,显示压缩过程的详细信息。

    bzip2 -9vk /opt/etc.zip /opt/var.zip /opt/backup.zip
     
    -

    压缩完毕后,在/opt下就会生成相应的etc.zip.bz2、var.zip.bz2和backup.zip.bz2文件。

    +

    压缩完毕后,在/opt下就会生成相应的etc.zip.bz2、var.zip.bz2和backup.zip.bz2文件。

    + - - + + \ No newline at end of file diff --git a/c/bye.html b/c/bye.html index b9643b2e64..ad481eede0 100644 --- a/c/bye.html +++ b/c/bye.html @@ -10,7 +10,7 @@ bye 命令,Linux bye 命令详解:命令用于中断FTP连线并结束程序 - Linux 命令搜索引擎 - +
    @@ -67,6 +67,7 @@
    + - - + + \ No newline at end of file diff --git a/c/bzcat.html b/c/bzcat.html index 9eebe01033..8f8ed98e20 100644 --- a/c/bzcat.html +++ b/c/bzcat.html @@ -10,7 +10,7 @@ bzcat 命令,Linux bzcat 命令详解:解压缩指定的.bz2文件 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@

    将上面的压缩文件内容读出来:

    bzcat man.config.bz2
     
    -

    此时屏幕上会显示 man.config.bz2 解压缩之后的文件内容。

    +

    此时屏幕上会显示 man.config.bz2 解压缩之后的文件内容。

    + - - + + \ No newline at end of file diff --git a/c/bzcmp.html b/c/bzcmp.html index ec795cf9a9..8072dcbbc0 100644 --- a/c/bzcmp.html +++ b/c/bzcmp.html @@ -10,7 +10,7 @@ bzcmp 命令,Linux bzcmp 命令详解:比较两个压缩包中的文件 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/bzdiff.html b/c/bzdiff.html index f9d230da51..16539f4eda 100644 --- a/c/bzdiff.html +++ b/c/bzdiff.html @@ -10,7 +10,7 @@ bzdiff 命令,Linux bzdiff 命令详解:直接比较两个.bz2压缩包中文件的不同 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/bzgrep.html b/c/bzgrep.html index 5173b3f1f4..7d344c7aeb 100644 --- a/c/bzgrep.html +++ b/c/bzgrep.html @@ -10,7 +10,7 @@ bzgrep 命令,Linux bzgrep 命令详解:使用正则表达式搜索.bz2压缩包中文件 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/bzip2.html b/c/bzip2.html index c959ff82ae..0386f94e23 100644 --- a/c/bzip2.html +++ b/c/bzip2.html @@ -10,7 +10,7 @@ bzip2 命令,Linux bzip2 命令详解:将文件压缩成bz2格式 - Linux 命令搜索引擎 - +
    @@ -173,11 +173,12 @@ bzip2: For help, type: `bzip2 --help'bzip2 -- -myfilename -

    这里主要是为了防止文件名中-产生以为是选项的歧义。

    +

    这里主要是为了防止文件名中-产生以为是选项的歧义。

    + + - - + + \ No newline at end of file diff --git a/c/bzless.html b/c/bzless.html index 2f810fb652..883bfbf4df 100644 --- a/c/bzless.html +++ b/c/bzless.html @@ -10,7 +10,7 @@ bzless 命令,Linux bzless 命令详解:增强.bz2压缩包查看器 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件:指定要分屏显示的.bz2压缩包。

    +

    文件:指定要分屏显示的.bz2压缩包。

    + - - + + \ No newline at end of file diff --git a/c/bzmore.html b/c/bzmore.html index d67ff3924a..9d6ddcea3b 100644 --- a/c/bzmore.html +++ b/c/bzmore.html @@ -10,7 +10,7 @@ bzmore 命令,Linux bzmore 命令详解:查看bzip2压缩过的文本文件的内容 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件:指定要分屏显示的.bz2压缩包。

    +

    文件:指定要分屏显示的.bz2压缩包。

    + - - + + \ No newline at end of file diff --git a/c/cal.html b/c/cal.html index c46ae058b1..edefa71e23 100644 --- a/c/cal.html +++ b/c/cal.html @@ -10,7 +10,7 @@ cal 命令,Linux cal 命令详解:显示当前日历或指定日期的日历 - Linux 命令搜索引擎 - +
    @@ -113,11 +113,12 @@ 10 11 12 13 14 15 16 15 16 17 18 19 20 21 12 13 14 15 16 17 18 17 18 19 20 21 22 23 22 23 24 25 26 27 28 19 20 21 22 23 24 25 24 25 26 27 28 29 30 29 30 31 26 27 28 29 30 31 - +
    + - - + + \ No newline at end of file diff --git a/c/cancel.html b/c/cancel.html index 2a0395d0e3..e68c440012 100644 --- a/c/cancel.html +++ b/c/cancel.html @@ -10,7 +10,7 @@ cancel 命令,Linux cancel 命令详解:取消已存在的打印任务 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    参数

    -

    打印任务号:指定要取消的打印任务编号。

    +

    打印任务号:指定要取消的打印任务编号。

    + - - + + \ No newline at end of file diff --git a/c/cat.html b/c/cat.html index 73b1b00064..a5524a259c 100644 --- a/c/cat.html +++ b/c/cat.html @@ -10,7 +10,7 @@ cat 命令,Linux cat 命令详解:连接多个文件并打印到标准输出。 - Linux 命令搜索引擎 - +
    @@ -77,6 +77,7 @@ -E, --show-ends 在每行的结尾显示'
    + - - + + 字符。 -n, --number 对所有行编号,从1开始编号。 @@ -144,11 +145,12 @@ var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); h 参考链接
    1. Question about LFD key
    2. -
    + + - - + + \ No newline at end of file diff --git a/c/cd.html b/c/cd.html index dabe2c739f..74aa90e369 100644 --- a/c/cd.html +++ b/c/cd.html @@ -10,7 +10,7 @@ cd 命令,Linux cd 命令详解:切换用户当前工作目录。 - Linux 命令搜索引擎 - +
    @@ -128,11 +128,12 @@
  • 建议您在编写脚本的过程中如有必要使用cd命令时,请增加必要的注释以用于提醒阅读者当前工作目录,以免出现诸如找不到文件这类问题的发生。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/cdrecord.html b/c/cdrecord.html index 2866a5cc34..2b54a1bd40 100644 --- a/c/cdrecord.html +++ b/c/cdrecord.html @@ -10,7 +10,7 @@ cdrecord 命令,Linux cdrecord 命令详解:Linux系统下光盘刻录功能命令 - Linux 命令搜索引擎 - +
    @@ -93,11 +93,12 @@ scsibus0:

    擦写光驱:

    cdrecord --dev=0,3,0 --blank=fast
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/chage.html b/c/chage.html index 8c861c8179..1997be7a5c 100644 --- a/c/chage.html +++ b/c/chage.html @@ -10,7 +10,7 @@ chage 命令,Linux chage 命令详解:修改帐号和密码的有效期限 - Linux 命令搜索引擎 - +
    @@ -121,11 +121,12 @@ PASS_WARN_AGE 7 两次改变密码之间相距的最大天数 :60 在密码过期之前警告的天数 :9 -

    从上述命令可以看到,在密码过期后5天,密码自动失效,这个用户将无法登陆系统了。

    +

    从上述命令可以看到,在密码过期后5天,密码自动失效,这个用户将无法登陆系统了。

    + - - + + \ No newline at end of file diff --git a/c/chattr.html b/c/chattr.html index f1f17f915a..abbb0326fe 100644 --- a/c/chattr.html +++ b/c/chattr.html @@ -10,7 +10,7 @@ chattr 命令,Linux chattr 命令详解:用来改变文件属性 - Linux 命令搜索引擎 - +
    @@ -86,11 +86,12 @@ u:预防意外删除。

    然后试一下rm、mv、rename等命令操作于该文件,都是得到Operation not permitted的结果。

    让某个文件只能往里面追加内容,不能删除,一些日志文件适用于这种操作:

    chattr +a /data1/user_act.log
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/chcon.html b/c/chcon.html index 231eafb135..b6e8b651dc 100644 --- a/c/chcon.html +++ b/c/chcon.html @@ -10,7 +10,7 @@ chcon 命令,Linux chcon 命令详解:修改对象(文件)的安全上下文 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ chcon -R -t httpd_sys_content_t ~user/public_html

    共享rsync目录时:

    chcon -t public_content_t /directories
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/chfn.html b/c/chfn.html index 5b1ba4bbe8..eb94d82243 100644 --- a/c/chfn.html +++ b/c/chfn.html @@ -10,7 +10,7 @@ chfn 命令,Linux chfn 命令详解:用来改变finger命令显示的信息 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@ Name[][]:NCCU Office Phone[]: [del] Home Phone[]: [del] - +
    + + - - + + \ No newline at end of file diff --git a/c/chkconfig.html b/c/chkconfig.html index b3e62521c0..1e8cb86c03 100644 --- a/c/chkconfig.html +++ b/c/chkconfig.html @@ -10,7 +10,7 @@ chkconfig 命令,Linux chkconfig 命令详解:检查或设置系统的各种服务 - Linux 命令搜索引擎 - +
    @@ -112,11 +112,12 @@
  • 服务脚本必须存放在/etc/ini.d/目录下;
  • chkconfig --add servicename在chkconfig工具服务列表中增加此服务,此时服务会被在/etc/rc.d/rcN.d中赋予K/S入口了;
  • chkconfig --level 35 mysqld on修改服务的默认启动等级。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/chmod.html b/c/chmod.html index c827653b99..534c04a6af 100644 --- a/c/chmod.html +++ b/c/chmod.html @@ -10,7 +10,7 @@ chmod 命令,Linux chmod 命令详解:用来变更文件或目录的权限 - Linux 命令搜索引擎 - +
    @@ -148,11 +148,12 @@
  • 使用-R选项一定要保留当前用户的执行和读取权限,否则会报错!

  • - +
    + - - + + \ No newline at end of file diff --git a/c/chown.html b/c/chown.html index 224ec993a7..50c072b796 100644 --- a/c/chown.html +++ b/c/chown.html @@ -10,7 +10,7 @@ chown 命令,Linux chown 命令详解:用来变更文件或目录的拥有者或所属群组 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ 实例

    将目录/usr/meng及其下面的所有文件、子目录的文件主改成 liu:

    chown -R liu /usr/meng
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/chpasswd.html b/c/chpasswd.html index 7a9de54b88..fa783762cf 100644 --- a/c/chpasswd.html +++ b/c/chpasswd.html @@ -10,7 +10,7 @@ chpasswd 命令,Linux chpasswd 命令详解:批量更新用户口令的工具 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    先创建用户密码对应文件,格式为username:password,如abc:abc123,必须以这种格式来书写,并且不能有空行,保存成文本文件user.txt,然后执行chpasswd命令:

    chpasswd < user.txt
     
    -

    以上是运用chpasswd命令来批量修改密码。是linux系统管理中的捷径。

    +

    以上是运用chpasswd命令来批量修改密码。是linux系统管理中的捷径。

    + - - + + \ No newline at end of file diff --git a/c/chroot.html b/c/chroot.html index e0a22af22a..4a04466f10 100644 --- a/c/chroot.html +++ b/c/chroot.html @@ -10,7 +10,7 @@ chroot 命令,Linux chroot 命令详解:把根目录换成指定的目的目录 - Linux 命令搜索引擎 - +
    @@ -124,11 +124,12 @@ libc.so.6 = &#x
    su
     chroot newRoot /a.out
     
    -

    这样就能够正确运行a.out了,因为a.out使用到了其他的动态连接库,所以需要将库拷贝到newRoot中,如果没有其他库那么直接拷贝a.out就能运行。例如静态编译后的busybox,其安装目录中的/bin/busybox就没有依赖其他库。

    +

    这样就能够正确运行a.out了,因为a.out使用到了其他的动态连接库,所以需要将库拷贝到newRoot中,如果没有其他库那么直接拷贝a.out就能运行。例如静态编译后的busybox,其安装目录中的/bin/busybox就没有依赖其他库。

    + - - + + \ No newline at end of file diff --git a/c/chsh.html b/c/chsh.html index e34a7ba489..4e734932b9 100644 --- a/c/chsh.html +++ b/c/chsh.html @@ -10,7 +10,7 @@ chsh 命令,Linux chsh 命令详解:用来更换登录系统时使用的shell - Linux 命令搜索引擎 - +
    @@ -111,11 +111,12 @@ rocrocket:x:500:500:rocrocket,China:/rocrocket/PSB/home:/bin/zsh Changing shell for rocrocket. Password: Shell changed. - +
    + - - + + \ No newline at end of file diff --git a/c/cksum.html b/c/cksum.html index 1fec4be948..d5a4b62edb 100644 --- a/c/cksum.html +++ b/c/cksum.html @@ -10,7 +10,7 @@ cksum 命令,Linux cksum 命令详解:检查文件的CRC是否正确 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@
    1263453430 78 testfile1     #输出信息
     

    上面的输出信息中,"1263453430"表示校验码,"78"表示字节数。

    -

    注意:如果文件中有任何字符被修改,都将改变计算后CRC校验码的值。

    +

    注意:如果文件中有任何字符被修改,都将改变计算后CRC校验码的值。

    + - - + + \ No newline at end of file diff --git a/c/clear.html b/c/clear.html index 15c653c4b1..22a53d1336 100644 --- a/c/clear.html +++ b/c/clear.html @@ -10,7 +10,7 @@ clear 命令,Linux clear 命令详解:清除当前屏幕终端上的任何信息 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    实例

    -

    直接输入clear命令当前终端上的任何信息就可被清除。

    +

    直接输入clear命令当前终端上的任何信息就可被清除。

    + - - + + \ No newline at end of file diff --git a/c/clock.html b/c/clock.html index dfb9c03dd9..d27f4156bf 100644 --- a/c/clock.html +++ b/c/clock.html @@ -10,7 +10,7 @@ clock 命令,Linux clock 命令详解:用于调整 RTC 时间 - Linux 命令搜索引擎 - +
    @@ -83,11 +83,12 @@

    显示UTC时间

    clock -utc #显示UTC时间
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/clockdiff.html b/c/clockdiff.html index eb8c7fc224..f298b63277 100644 --- a/c/clockdiff.html +++ b/c/clockdiff.html @@ -10,7 +10,7 @@ clockdiff 命令,Linux clockdiff 命令详解:检测两台linux主机的时间差 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@ rtt min/avg/max/mdev = .................................................. host=gigagate1.Princeton.EDU rtt=307(21)ms/271ms delta=-5ms/-5ms Wed Dec 17 11:50:16 2008 -

    上面是测试一个RTT较大的目的主机和本地主机的系统时间差。不过在使用clockdiff的时候,需要一点运气,因为很多路由会忽略ICMP或IP时间戳。

    +

    上面是测试一个RTT较大的目的主机和本地主机的系统时间差。不过在使用clockdiff的时候,需要一点运气,因为很多路由会忽略ICMP或IP时间戳。

    + + - - + + \ No newline at end of file diff --git a/c/col.html b/c/col.html index 3c190d05a9..6dddbecbe8 100644 --- a/c/col.html +++ b/c/col.html @@ -10,7 +10,7 @@ col 命令,Linux col 命令详解:过滤控制字符 - Linux 命令搜索引擎 - +
    @@ -65,11 +65,12 @@ -f:滤掉RLF字符,但允许将HRLF字符呈现出来; -x:以多个空格字符来表示跳格字符; -l<缓冲区列数>:预设的内存缓冲区有128列,用户可以自行指定缓冲区的大小。 - +
    + - - + + \ No newline at end of file diff --git a/c/colrm.html b/c/colrm.html index 3d812c9323..0a4d9b6a97 100644 --- a/c/colrm.html +++ b/c/colrm.html @@ -10,7 +10,7 @@ colrm 命令,Linux colrm 命令详解:删除文件中的指定列 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/comm.html b/c/comm.html index ecc2097636..000a761d03 100644 --- a/c/comm.html +++ b/c/comm.html @@ -10,7 +10,7 @@ comm 命令,Linux comm 命令详解:按行比较两个已排序的文件。 - Linux 命令搜索引擎 - +
    @@ -169,11 +169,12 @@ jjj 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 comminfo coreutils 'comm invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/command.html b/c/command.html index 9c722a9ae0..a44b4f210e 100644 --- a/c/command.html +++ b/c/command.html @@ -10,7 +10,7 @@ command 命令,Linux command 命令详解:调用并执行指定的命令 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    上面的命令执行后,将调用执行命令echo Linux,其执行结果如下:

    Linux
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/compress.html b/c/compress.html index 91c87699d0..111e7c79ab 100644 --- a/c/compress.html +++ b/c/compress.html @@ -10,7 +10,7 @@ compress 命令,Linux compress 命令详解:使用Lempress-Ziv编码压缩数据文件 - Linux 命令搜索引擎 - +
    @@ -94,11 +94,12 @@
    -rw-r--r-- 1 root root 4506 Jul 27 11:43 man.config
     -rw-r--r-- 1 root root 2605 Jul 27 11:46 man.config.back.Z
     
    -

    这个-c的选项比较有趣!会将压缩过程的资料输出到屏幕上,而不是写入成为file.Z文件。所以,我们可以透过资料流重导向的方法将资料输出成为另一个档名。

    +

    这个-c的选项比较有趣!会将压缩过程的资料输出到屏幕上,而不是写入成为file.Z文件。所以,我们可以透过资料流重导向的方法将资料输出成为另一个档名。

    + - - + + \ No newline at end of file diff --git a/c/consoletype.html b/c/consoletype.html index 08fe21b1a2..f6fa1311f1 100644 --- a/c/consoletype.html +++ b/c/consoletype.html @@ -10,7 +10,7 @@ consoletype 命令,Linux consoletype 命令详解:输出已连接的终端类型 - Linux 命令搜索引擎 - +
    @@ -63,11 +63,12 @@ 实例
    [root@localhost ~]# consoletype
     pty
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/continue.html b/c/continue.html index 1261dc47a3..40ae0d2d8c 100644 --- a/c/continue.html +++ b/c/continue.html @@ -10,7 +10,7 @@ continue 命令,Linux continue 命令详解:结束本次循环,继续执行下一个for,while或until循环。 - Linux 命令搜索引擎 - +
    @@ -110,11 +110,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/convertquota.html b/c/convertquota.html index 22be0a971e..f4607262e1 100644 --- a/c/convertquota.html +++ b/c/convertquota.html @@ -10,7 +10,7 @@ convertquota 命令,Linux convertquota 命令详解:把老的配额文件转换为新的格式 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@ 实例

    使用convertquota指令转换指定文件系统/data的磁盘配额数据文件。在命令行中输入下面的命令:

    convertquota -u /data     //转换文件系统"/data"上的用户磁盘配额文件
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/cp.html b/c/cp.html index 354c9adff1..70916b73f0 100644 --- a/c/cp.html +++ b/c/cp.html @@ -10,7 +10,7 @@ cp 命令,Linux cp 命令详解:将源文件或目录复制到目标文件或目录中 - Linux 命令搜索引擎 - +
    @@ -133,11 +133,12 @@ test1.py test1.py.~1~ test1.py.~2~

    复制到当前目录

    cp aaa.conf ./
     # 将 aaa.conf 复制到当前目录
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/cpio.html b/c/cpio.html index 436053525e..f1611c9803 100644 --- a/c/cpio.html +++ b/c/cpio.html @@ -10,7 +10,7 @@ cpio 命令,Linux cpio 命令详解:用来建立、还原备份档的工具程序 - Linux 命令搜索引擎 - +
    @@ -120,11 +120,12 @@
    cpio –icduv < /opt/etc.cpio
     

    注意,cpio恢复的路径,如果cpio在打包备份的时候用的是绝对路径,那么在恢复的时候会自动恢复到这些绝对路径下,本例就会将备份文件全部还原到/etc路径下对应的目录中。同理,如果在打包备份用的是相对路径,还原时也将恢复到相对路径下。

    -

    通过上面的示例,可以看出,cpio无法直接读取文件,它需要每个文件或者目录的完整路径名才能识别读取,而find命令的输出刚好做到了这点,因此,cpio命令一般和find命令配合使用。其实,上面的示例我们已经看到了它们的组合用法。

    +

    通过上面的示例,可以看出,cpio无法直接读取文件,它需要每个文件或者目录的完整路径名才能识别读取,而find命令的输出刚好做到了这点,因此,cpio命令一般和find命令配合使用。其实,上面的示例我们已经看到了它们的组合用法。

    + - - + + \ No newline at end of file diff --git a/c/crontab.html b/c/crontab.html index 9351a05b7b..ec1aad5ea4 100644 --- a/c/crontab.html +++ b/c/crontab.html @@ -10,7 +10,7 @@ crontab 命令,Linux crontab 命令详解:提交和管理用户的需要周期性执行的任务 - Linux 命令搜索引擎 - +
    @@ -176,11 +176,12 @@

    每小时执行/etc/cron.hourly目录内的脚本

    01 * * * * root run-parts /etc/cron.hourly
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/csplit.html b/c/csplit.html index 43fc84e501..5267b4c839 100644 --- a/c/csplit.html +++ b/c/csplit.html @@ -10,7 +10,7 @@ csplit 命令,Linux csplit 命令详解:将一个大文件分割成小的碎片文件 - Linux 命令搜索引擎 - +
    @@ -109,11 +109,12 @@ server01.log server02.log server03.log server.log -f #指定分割后的文件名前缀。 -b #指定后缀格式。比如%02d.log,类似于C语言中的printf参数格式。 rm server00.log #是删除第一个文件,因为分割后的的第一个文件没有内容,匹配的单词就位于文件的第一行中。 - +
    + - - + + \ No newline at end of file diff --git a/c/cu.html b/c/cu.html index 75b4c80865..0ee7d9b7be 100644 --- a/c/cu.html +++ b/c/cu.html @@ -10,7 +10,7 @@ cu 命令,Linux cu 命令详解:用于连接另一个系统主机 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@

    与远程主机连接

    cu -c 0102377765
     cu -s 38400 9=12015551234
    -
    +
    + + - - + + \ No newline at end of file diff --git a/c/cupsenable.html b/c/cupsenable.html index 8ea4018f00..81e737eca5 100644 --- a/c/cupsenable.html +++ b/c/cupsenable.html @@ -10,7 +10,7 @@ cupsenable 命令,Linux cupsenable 命令详解:启动指定的打印机 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    目标:指定目标打印机。

    +

    目标:指定目标打印机。

    + - - + + \ No newline at end of file diff --git a/c/curl.html b/c/curl.html index e8ae7c2160..c7acd9e185 100644 --- a/c/curl.html +++ b/c/curl.html @@ -10,7 +10,7 @@ curl 命令,Linux curl 命令详解:利用URL规则在命令行下工作的文件传输工具 - Linux 命令搜索引擎 - +
    @@ -771,11 +771,12 @@ Installing Yarn! 100 97 100 97 0 0 325 0 --:--:-- --:--:-- --:--:-- 325 100 647 100 647 0 0 1283 0 --:--:-- --:--:-- --:--:-- 1283 100 832 100 832 0 0 1107 0 --:--:-- --:--:-- --:--:-- 812k - +
    + - - + + \ No newline at end of file diff --git a/c/cut.html b/c/cut.html index e39a82e6e5..faec90fefc 100644 --- a/c/cut.html +++ b/c/cut.html @@ -10,7 +10,7 @@ cut 命令,Linux cut 命令详解:连接文件并打印到标准输出设备上 - Linux 命令搜索引擎 - +
    @@ -177,6 +177,7 @@ efghijklmnopqrstuvwxyz
    + - - + + \ No newline at end of file diff --git a/c/date.html b/c/date.html index 5232c36e0c..385cdb2a36 100644 --- a/c/date.html +++ b/c/date.html @@ -10,7 +10,7 @@ date 命令,Linux date 命令详解:显示或设置系统时间与日期 - Linux 命令搜索引擎 - +
    @@ -226,11 +226,12 @@ nmap wangchujiang.com &> /dev/null 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 dateinfo coreutils 'date invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/dd.html b/c/dd.html index fd94613e3b..cfc8ed1c27 100644 --- a/c/dd.html +++ b/c/dd.html @@ -10,7 +10,7 @@ dd 命令,Linux dd 命令详解:复制文件并对原文件的内容进行转换和格式化处理 - Linux 命令搜索引擎 - +
    @@ -138,11 +138,12 @@ 15+0 records out 15 bytes (15 B) copied, 0.000111993 s, 134 kB/s wFRAnlkXeBXmWs1MyGEs - +
    + - - + + \ No newline at end of file diff --git a/c/declare.html b/c/declare.html index 9e4c807d1d..88242d4443 100644 --- a/c/declare.html +++ b/c/declare.html @@ -10,7 +10,7 @@ declare 命令,Linux declare 命令详解:声明变量,设置或显示变量的值和属性。 - Linux 命令搜索引擎 - +
    @@ -253,11 +253,12 @@ test2
  • 导出属性的相关介绍请查看'export'命令。
  • 只读属性的相关介绍请查看'readonly'命令。
  • 引用属性的相关介绍请查看'unset'命令的例子部分。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/depmod.html b/c/depmod.html index ed7e2407a2..01de880097 100644 --- a/c/depmod.html +++ b/c/depmod.html @@ -10,7 +10,7 @@ depmod 命令,Linux depmod 命令详解:分析可载入模块的相依性 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ depmod -b /home/windsome/EMMA3PF-KernelSource-20080626/install_pos -e -F ./boot/

    其他用法:

    在linux桌面系统中,当你编译了新的驱动,为了能够用modprobe ***加载模块, 你需要先将模块拷贝到/lib/modules /2.6.31-20-generic目录下,然后运行sudo depmod -a将模块信息写入modules.dep、modules.dep.bin、modules.alias.bin、modules.alias和modules.pcimap文件中。

    -

    如,我编译了一个新的wifi驱动r8192se_pci.ko,将其拷贝到/lib/modules/2.6.31-20-generic/wireless下,然后到/lib/modules/2.6.31-20-generic运行depmod -a,之后可以在任意目录运行modprobe r8192se_pci。

    +

    如,我编译了一个新的wifi驱动r8192se_pci.ko,将其拷贝到/lib/modules/2.6.31-20-generic/wireless下,然后到/lib/modules/2.6.31-20-generic运行depmod -a,之后可以在任意目录运行modprobe r8192se_pci。

    + - - + + \ No newline at end of file diff --git a/c/df.html b/c/df.html index d4663b8454..35c8cd5205 100644 --- a/c/df.html +++ b/c/df.html @@ -10,7 +10,7 @@ df 命令,Linux df 命令详解:显示磁盘的相关信息 - Linux 命令搜索引擎 - +
    @@ -122,11 +122,12 @@ none 0 df public # Filesystem 1K-blocks Used Available Use% Mounted on # /dev/loop0 18761008 15246924 2554392 86% /d Avail - +
    + + - - + + \ No newline at end of file diff --git a/c/dhcpd.html b/c/dhcpd.html index 50b26dbf69..5db3636aa3 100644 --- a/c/dhcpd.html +++ b/c/dhcpd.html @@ -10,7 +10,7 @@ dhcpd 命令,Linux dhcpd 命令详解:运行DHCP服务器 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@ have beenmade to the base software release in it workbetter with this distribution. exiting. - +
    + - - + + \ No newline at end of file diff --git a/c/dhcrelay.html b/c/dhcrelay.html index 6f93f5039a..b6b502ddaa 100644 --- a/c/dhcrelay.html +++ b/c/dhcrelay.html @@ -10,7 +10,7 @@ dhcrelay 命令,Linux dhcrelay 命令详解:使用dhcrelay命令可以提供中继DHCP和BOOTP请求 - Linux 命令搜索引擎 - +
    @@ -83,11 +83,12 @@ Sending on LPF/eth1/00:0c:29:fc:2f:ef Listening on LPF/eth0/00:0c:27:fc:25:ec Sending on LPF/eth0/00:0c:27:fc:25:ec Sending on Socket/fallback - +
    + - - + + \ No newline at end of file diff --git a/c/diff.html b/c/diff.html index 6a3785d126..e4c6c908d3 100644 --- a/c/diff.html +++ b/c/diff.html @@ -10,7 +10,7 @@ diff 命令,Linux diff 命令详解:比较给定的两个文件的不同 - Linux 命令搜索引擎 - +
    @@ -115,11 +115,12 @@ n1,n2 d n3 n1,n2 c n3,n4

    其中,字母"a"、"d"、"c"分别表示添加、删除及修改操作。而"n1"、"n2"表示在文件1中的行号,"n3"、"n4"表示在文件2中的行号。

    -

    注意:以上说明指定了两个文件中不同处的行号及其相应的操作。在输出形式中,每一行后面将跟随受到影响的若干行。其中,以<开始的行属于文件1,以>开始的行属于文件2。

    +

    注意:以上说明指定了两个文件中不同处的行号及其相应的操作。在输出形式中,每一行后面将跟随受到影响的若干行。其中,以<开始的行属于文件1,以>开始的行属于文件2。

    + - - + + \ No newline at end of file diff --git a/c/diff3.html b/c/diff3.html index 79bab4c84d..b257c38759 100644 --- a/c/diff3.html +++ b/c/diff3.html @@ -10,7 +10,7 @@ diff3 命令,Linux diff3 命令详解:比较3个文件不同的地方 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@
  • 文件1:指定要比较的第1个文件;
  • 文件2:指定要比较的第2个文件;
  • 文件3:指定要比较的第3个文件。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/diffstat.html b/c/diffstat.html index 1e9574a534..5f719d4748 100644 --- a/c/diffstat.html +++ b/c/diffstat.html @@ -10,7 +10,7 @@ diffstat 命令,Linux diffstat 命令详解:显示diff命令输出信息的柱状图 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@ mno

    从上面的文件内容显示,可以看到两个文件内容的差别。现在来运行刚才的命令,对文件比较的结果进行统计显示,结果如下:

    testfile | 2 +-             #统计信息输出显示
     1 file changed, 1 insertion(+), 1 deletion(-)
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dig.html b/c/dig.html index 96f2eb5cd1..608201a838 100644 --- a/c/dig.html +++ b/c/dig.html @@ -10,7 +10,7 @@ dig 命令,Linux dig 命令详解:域名查询工具 - Linux 命令搜索引擎 - +
    @@ -106,11 +106,12 @@ jsdig.com. 8 IN NS ;; SERVER: 202.96.104.15#53(202.96.104.15) ;; WHEN: Thu Dec 26 11:14:37 2013 ;; MSG SIZE rcvd: 121 - +
    + - - + + \ No newline at end of file diff --git a/c/dircolors.html b/c/dircolors.html index 84053b27ee..71310daacb 100644 --- a/c/dircolors.html +++ b/c/dircolors.html @@ -10,7 +10,7 @@ dircolors 命令,Linux dircolors 命令详解:置ls命令在显示目录或文件时所用的色彩 - Linux 命令搜索引擎 - +
    @@ -183,11 +183,12 @@ STICKY 37;;35 .ogg 01;35 .wav 01;35 - +
    + + - - + + \ No newline at end of file diff --git a/c/dirs.html b/c/dirs.html index af173de00e..31b5049185 100644 --- a/c/dirs.html +++ b/c/dirs.html @@ -10,7 +10,7 @@ dirs 命令,Linux dirs 命令详解:显示目录堆栈。 - Linux 命令搜索引擎 - +
    @@ -123,11 +123,12 @@
  • bash的目录堆栈命令包括dirs popd pushd
  • 当前目录始终是目录堆栈的顶部。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/disown.html b/c/disown.html index 86e3982167..ba49b10290 100644 --- a/c/disown.html +++ b/c/disown.html @@ -10,7 +10,7 @@ disown 命令,Linux disown 命令详解:从当前的shell中移除作业。 - Linux 命令搜索引擎 - +
    @@ -170,11 +170,12 @@ bash: warning: deleting stopped job 1 with pro 参考链接 +
    + - - + + \ No newline at end of file diff --git a/c/dmesg.html b/c/dmesg.html index 3468a6270a..9c6425a628 100644 --- a/c/dmesg.html +++ b/c/dmesg.html @@ -10,7 +10,7 @@ dmesg 命令,Linux dmesg 命令详解:显示Linux系统启动信息 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@ BIOS-provided physical RAM map: [ 2.442607] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 2.447533] sda: sda1 [ 2.448503] sd 0:0:0:0: [sda] Attached SCSI disk - +
    + - - + + \ No newline at end of file diff --git a/c/dmidecode.html b/c/dmidecode.html index f92ec0cd68..49c3dc8f2a 100644 --- a/c/dmidecode.html +++ b/c/dmidecode.html @@ -10,7 +10,7 @@ dmidecode 命令,Linux dmidecode 命令详解:在Linux系统下获取有关硬件方面的信息 - Linux 命令搜索引擎 - +
    @@ -319,12 +319,13 @@ dmidecode|grep< ```shell -<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ --> +
    + - - + + \ No newline at end of file diff --git a/c/dnf.html b/c/dnf.html index d4e8a89e45..6fdc4b1b44 100644 --- a/c/dnf.html +++ b/c/dnf.html @@ -10,7 +10,7 @@ dnf 命令,Linux dnf 命令详解:新一代的RPM软件包管理器 - Linux 命令搜索引擎 - +
    @@ -195,11 +195,12 @@ Error: Nothing to do.
  • 在 DNF 中没有判断哪个包提供了指定依赖的 resolvedep 命令。
  • 在 DNF 中没有用来列出某个软件依赖包的 deplist 命令。
  • 当你在 DNF 中排除了某个软件库,那么该操作将会影响到你之后所有的操作,不像在 YUM 下那样,你的排除操作只会咋升级和安装软件时才起作用。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/dnsdomainname.html b/c/dnsdomainname.html index 07423d6e21..a31bc7ed57 100644 --- a/c/dnsdomainname.html +++ b/c/dnsdomainname.html @@ -10,7 +10,7 @@ dnsdomainname 命令,Linux dnsdomainname 命令详解:定义DNS系统中FQDN名称的域名 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@ gethostname(`AY1307311912260196fcZ' ... Result: h_name=`AY1307311912260196fcZ' Result: h_addr_list=`10.160.7.81' - +
    + + - - + + \ No newline at end of file diff --git a/c/dos2unix.html b/c/dos2unix.html index c80305aa39..cf374fe36a 100644 --- a/c/dos2unix.html +++ b/c/dos2unix.html @@ -10,7 +10,7 @@ dos2unix 命令,Linux dos2unix 命令详解:将DOS格式文本文件转换成Unix格式 - Linux 命令搜索引擎 - +
    @@ -93,11 +93,12 @@ dos2unix -k -n oldfile newfile

    转换当前目录下所有文件

    find -type f | xargs dos2unix
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-deb.html b/c/dpkg-deb.html index f0141037e6..a506c6d906 100644 --- a/c/dpkg-deb.html +++ b/c/dpkg-deb.html @@ -10,7 +10,7 @@ dpkg-deb 命令,Linux dpkg-deb 命令详解:Debian Linux下的软件包管理工具 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@

    查询deb包中的文件内容:

    dpkg-deb -c demo.deb
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-divert.html b/c/dpkg-divert.html index 64a131006f..0cfc86ef12 100644 --- a/c/dpkg-divert.html +++ b/c/dpkg-divert.html @@ -10,7 +10,7 @@ dpkg-divert 命令,Linux dpkg-divert 命令详解:Debian Linux中创建并管理一个转向列表 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@

    添加一个软件包安装时,写入/usr/bin/example.foo,而不是/usr/bin/example的修改:

    dpkg-divert --divert /usr/bin/example.foo --rename /usr/bin/example
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-preconfigure.html b/c/dpkg-preconfigure.html index dcc3939978..6c8e7bc2e9 100644 --- a/c/dpkg-preconfigure.html +++ b/c/dpkg-preconfigure.html @@ -10,7 +10,7 @@ dpkg-preconfigure 命令,Linux dpkg-preconfigure 命令详解:Debian Linux中软件包安装之前询问问题 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@ 实例

    导入debconf模板:

    dpkg-preconfigure /var/cache/apt/archives/mysql-server-5.5*.deb
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-query.html b/c/dpkg-query.html index a42bfef240..5a5ef981f9 100644 --- a/c/dpkg-query.html +++ b/c/dpkg-query.html @@ -10,7 +10,7 @@ dpkg-query 命令,Linux dpkg-query 命令详解:Debian Linux中软件包的查询工具 - Linux 命令搜索引擎 - +
    @@ -93,11 +93,12 @@

    查看软件包的确切状态(是否安装)以及版本号:

    dpkg-query -W -f='${Status} ${Version}\n' apache-perl
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-reconfigure.html b/c/dpkg-reconfigure.html index e9500223e8..462d6b8cb0 100644 --- a/c/dpkg-reconfigure.html +++ b/c/dpkg-reconfigure.html @@ -10,7 +10,7 @@ dpkg-reconfigure 命令,Linux dpkg-reconfigure 命令详解:Debian Linux中重新配制一个已经安装的软件包 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 实例

    用于配置语言:

    sudo dpkg-reconfigure locales
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-split.html b/c/dpkg-split.html index bd04c3a2ee..564dae433d 100644 --- a/c/dpkg-split.html +++ b/c/dpkg-split.html @@ -10,7 +10,7 @@ dpkg-split 命令,Linux dpkg-split 命令详解:Debian Linux中将大软件包分割成小包 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    合并分割文件:

    dpkg-split -j "foo*"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-statoverride.html b/c/dpkg-statoverride.html index 8f4fadb96b..acb03bb974 100644 --- a/c/dpkg-statoverride.html +++ b/c/dpkg-statoverride.html @@ -10,7 +10,7 @@ dpkg-statoverride 命令,Linux dpkg-statoverride 命令详解:Debian Linux中覆盖文件的所有权和模式 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    将文件从数据库中删除:

    sudo dpkg-statoverride --remove /usr/bin/wall
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dpkg-trigger.html b/c/dpkg-trigger.html index 44468be3f5..32d3f55313 100644 --- a/c/dpkg-trigger.html +++ b/c/dpkg-trigger.html @@ -10,7 +10,7 @@ dpkg-trigger 命令,Linux dpkg-trigger 命令详解:Debian Linux下的软件包触发器 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    参数

    -

    触发器名:指定触发器名称。

    +

    触发器名:指定触发器名称。

    + - - + + \ No newline at end of file diff --git a/c/dpkg.html b/c/dpkg.html index 4de23fb7aa..006e0f28e0 100644 --- a/c/dpkg.html +++ b/c/dpkg.html @@ -10,7 +10,7 @@ dpkg 命令,Linux dpkg 命令详解:Debian Linux系统上安装、创建和管理软件包 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ dpkg -S keyword # 搜索所属的包内 dpkg -l # 列出当前已安装的包 dpkg -c package.deb # 列出deb包的内容 dpkg --configure package # 配置包 - +
    + - - + + \ No newline at end of file diff --git a/c/dris.html b/c/dris.html index a0f12c0acc..2c7d8071c1 100644 --- a/c/dris.html +++ b/c/dris.html @@ -10,7 +10,7 @@ dris 命令,Linux dris 命令详解:显示和清空目录堆栈中的内容 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@
    +n:显示从左边算起第n笔的目录;
     -n:显示从右边算起第n笔的目录;
     -l:显示目录完整的记录。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dstat.html b/c/dstat.html index a9cd445185..369c6b98b5 100644 --- a/c/dstat.html +++ b/c/dstat.html @@ -10,7 +10,7 @@ dstat 命令,Linux dstat 命令详解:通用的系统资源统计工具 - Linux 命令搜索引擎 - +
    @@ -150,11 +150,12 @@ internal: net-packets, nfs3, nfs3-ops, nfsd3, nfsd3-ops, ntp, postfix, power, proc-count, rpc, rpcd, sendmail, snooze, thermal, top-bio, top-cpu, top-cputime, top-cputime-avg, top-io, top-latency, top-latency-avg, top-mem, top-oom, utmp, vm-memctl, vmk-hba, vmk-int, vmk-nic, vz-cpu, vz-io, vz-ubc, wifi -

    dstat命令的基本用法就说到这里,更多用法有待摸索,如果您需要补充内容请给我们发邮件,谢谢!

    +

    dstat命令的基本用法就说到这里,更多用法有待摸索,如果您需要补充内容请给我们发邮件,谢谢!

    + - - + + \ No newline at end of file diff --git a/c/du.html b/c/du.html index 0c293f634b..bbb7a19156 100644 --- a/c/du.html +++ b/c/du.html @@ -10,7 +10,7 @@ du 命令,Linux du 命令详解:显示每个文件和目录的磁盘使用空间 - Linux 命令搜索引擎 - +
    @@ -128,11 +128,12 @@

    显示总和的大小且易读:

    ubuntu@VM-0-14-ubuntu:~/git-work/linux-command/assets$ du -sh .
     1.9M    .
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/dump.html b/c/dump.html index da4d8fcda2..5ce250e560 100644 --- a/c/dump.html +++ b/c/dump.html @@ -10,7 +10,7 @@ dump 命令,Linux dump 命令详解:用于备份ext2或者ext3文件系统 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@

    /home目录所有内容备份到/tmp/homeback.bak文件中,备份层级为1(只备份上次使用层次0备份后发生过改变的数据)并在/etc/dumpdates中记录相关信息:

    dump -1u -f /tmp/homeback.bak /home
     
    -

    通过dump命令的备份层级,可实现完整+增量备份、完整+差异备份,在配合crontab可以实现无人值守备份。

    +

    通过dump命令的备份层级,可实现完整+增量备份、完整+差异备份,在配合crontab可以实现无人值守备份。

    + - - + + \ No newline at end of file diff --git a/c/e2fsck.html b/c/e2fsck.html index faf1769ce5..aeb56c62a2 100644 --- a/c/e2fsck.html +++ b/c/e2fsck.html @@ -10,7 +10,7 @@ e2fsck 命令,Linux e2fsck 命令详解:用于检查第二扩展文件系统的完整性 - Linux 命令搜索引擎 - +
    @@ -101,11 +101,12 @@

    检查/dev/sda1是否有问题,如发现问题便自动修复:

    e2fsck -a -y /dev/sda1
     
    -

    执行e2fsck或fsck前请先umount partition,否则有机会令档案系统毁损。如果需要对根目录/进行检查及修复,便需要进入singal user mode执行。

    +

    执行e2fsck或fsck前请先umount partition,否则有机会令档案系统毁损。如果需要对根目录/进行检查及修复,便需要进入singal user mode执行。

    + - - + + \ No newline at end of file diff --git a/c/e2label.html b/c/e2label.html index 2a693cd426..ff220d5211 100644 --- a/c/e2label.html +++ b/c/e2label.html @@ -10,7 +10,7 @@ e2label 命令,Linux e2label 命令详解:设置第二扩展文件系统的卷标 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@

    然后在/etc/fstab里加入:

    label=/new  /new  ext3  defaults  1 1
     
    -

    下次重新起动机器的时候,就会把卷标为/new的分区挂接到/new上。

    +

    下次重新起动机器的时候,就会把卷标为/new的分区挂接到/new上。

    + - - + + \ No newline at end of file diff --git a/c/echo.html b/c/echo.html index ef641672bb..4ab7f8ba48 100644 --- a/c/echo.html +++ b/c/echo.html @@ -10,7 +10,7 @@ echo 命令,Linux echo 命令详解:输出指定的字符串或者变量 - Linux 命令搜索引擎 - +
    @@ -101,11 +101,12 @@ Greed Background

    文字闪动:

    echo -e "\033[37;31;5mMySQL Server Stop...\033[39;49;0m"
     
    -

    红色数字处还有其他数字参数:0 关闭所有属性、1 设置高亮度(加粗)、4 下划线、5 闪烁、7 反显、8 消隐

    +

    红色数字处还有其他数字参数:0 关闭所有属性、1 设置高亮度(加粗)、4 下划线、5 闪烁、7 反显、8 消隐

    + - - + + \ No newline at end of file diff --git a/c/ed.html b/c/ed.html index 70a6d66383..f59d332216 100644 --- a/c/ed.html +++ b/c/ed.html @@ -10,7 +10,7 @@ ed 命令,Linux ed 命令详解:单行纯文本编辑器 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@ q # 退出ed编辑器。

    参数

    -

    文件:待编辑的文件。

    +

    文件:待编辑的文件。

    + - - + + \ No newline at end of file diff --git a/c/edquota.html b/c/edquota.html index eb47910197..2425e86317 100644 --- a/c/edquota.html +++ b/c/edquota.html @@ -10,7 +10,7 @@ edquota 命令,Linux edquota 命令详解:用于编辑指定用户或工作组磁盘配额 - Linux 命令搜索引擎 - +
    @@ -173,11 +173,12 @@ Filesystem blocks quota limit grace
  • 如果该用户没有配置磁盘限额的话,输出显示Disk quotas for user hujm (uid 503): none
  • 如果不带任何参数运行quota的话,查看的是你自己的配额使用情况。
  • - +
    + + - - + + \ No newline at end of file diff --git a/c/eject.html b/c/eject.html index 4cf0e1e3bc..56d8731a2f 100644 --- a/c/eject.html +++ b/c/eject.html @@ -10,7 +10,7 @@ eject 命令,Linux eject 命令详解:用来退出抽取式设备 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@

    参数

    -

    设备名:指定弹出的设备名称。

    +

    设备名:指定弹出的设备名称。

    + - - + + \ No newline at end of file diff --git a/c/elinks.html b/c/elinks.html index 487563e332..3ad8993e6e 100644 --- a/c/elinks.html +++ b/c/elinks.html @@ -10,7 +10,7 @@ elinks 命令,Linux elinks 命令详解:纯文本界面的WWW浏览器 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    参数

    -

    URL:指定要访问的URL地址。

    +

    URL:指定要访问的URL地址。

    + - - + + \ No newline at end of file diff --git a/c/elm.html b/c/elm.html index 6c5cac4bca..3970e097dc 100644 --- a/c/elm.html +++ b/c/elm.html @@ -10,7 +10,7 @@ elm 命令,Linux elm 命令详解:纯文本邮件客户端程序 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@ -m:进入elm后,不显示指令说明; -v:显示elm的版本信息; -z:若收件信箱没有邮件,则不启动elm程序。 - +
    + - - + + \ No newline at end of file diff --git a/c/emacs.html b/c/emacs.html index 83059f80ab..9ccaa1a0a8 100644 --- a/c/emacs.html +++ b/c/emacs.html @@ -10,7 +10,7 @@ emacs 命令,Linux emacs 命令详解:功能强大的全屏文本编辑器 - Linux 命令搜索引擎 - +
    @@ -169,11 +169,12 @@ M-! : M-x shell : 模拟shell的buffer M-x term : 模拟terminal, C-c k 关闭terminal C-x C-q : 修改buffer的只读属性 - +
    + - - + + \ No newline at end of file diff --git a/c/enable.html b/c/enable.html index aad0715f34..75b30f4228 100644 --- a/c/enable.html +++ b/c/enable.html @@ -10,7 +10,7 @@ enable 命令,Linux enable 命令详解:启动或禁用shell内建命令 - Linux 命令搜索引擎 - +
    @@ -163,11 +163,12 @@

    如果执行命令的环境没有echo函数,那么调用的echo就是外部命令。

    1. 该命令是bash内建命令,相关的帮助信息请查看 help 命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/env.html b/c/env.html index 850f774309..f8b1ec6883 100644 --- a/c/env.html +++ b/c/env.html @@ -10,7 +10,7 @@ env 命令,Linux env 命令详解:显示系统中已存在的环境变量 - Linux 命令搜索引擎 - +
    @@ -96,11 +96,12 @@ LESSOPEN=|/usr/bin/lesspipe.sh %s G_BROKEN_FILENAMES=1 _=/bin/env - +
    + - - + + \ No newline at end of file diff --git a/c/ethtool.html b/c/ethtool.html index b0a2870b83..0338e201f1 100644 --- a/c/ethtool.html +++ b/c/ethtool.html @@ -10,7 +10,7 @@ ethtool 命令,Linux ethtool 命令详解:显示或修改以太网卡的配置信息 - Linux 命令搜索引擎 - +
    @@ -193,11 +193,12 @@

    将千兆网卡的速度降为百兆,请输入:

    ethtool -s eth0 speed 100
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ex.html b/c/ex.html index 3bdb86b8a9..881f30f980 100644 --- a/c/ex.html +++ b/c/ex.html @@ -10,7 +10,7 @@ ex 命令,Linux ex 命令详解:启动vim编辑器的ex编辑模式 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件:指定待编辑的文件。

    +

    文件:指定待编辑的文件。

    + - - + + \ No newline at end of file diff --git a/c/exec.html b/c/exec.html index 96bd2378a1..9584c28a39 100644 --- a/c/exec.html +++ b/c/exec.html @@ -10,7 +10,7 @@ exec 命令,Linux exec 命令详解:调用并执行指定的命令 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@

    执行以上命令后,其输出信息如下:

    Linux C++                       # 使用指定指令输出信息
     
    -

    通过比较两者执行后的结果来看,所实现的功能是相同的,即使用exec命令调用echo命令成功。

    +

    通过比较两者执行后的结果来看,所实现的功能是相同的,即使用exec命令调用echo命令成功。

    + - - + + \ No newline at end of file diff --git a/c/exit.html b/c/exit.html index 291b7bb2dd..393ca0592c 100644 --- a/c/exit.html +++ b/c/exit.html @@ -10,7 +10,7 @@ exit 命令,Linux exit 命令详解:退出当前的shell。 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/expand.html b/c/expand.html index 9778094657..adbae80e6e 100644 --- a/c/expand.html +++ b/c/expand.html @@ -10,7 +10,7 @@ expand 命令,Linux expand 命令详解:将文件的制表符转换为空白字符 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@

    参数

    -

    文件:指定要转换制表符为空白的文件。

    +

    文件:指定要转换制表符为空白的文件。

    + - - + + \ No newline at end of file diff --git a/c/export.html b/c/export.html index 97f13d2a19..179e602048 100644 --- a/c/export.html +++ b/c/export.html @@ -10,7 +10,7 @@ export 命令,Linux export 命令详解:为shell变量或函数设置导出属性。 - Linux 命令搜索引擎 - +
    @@ -222,11 +222,12 @@ export -p declare -x SSH_TTY="/dev/pts/0" declare -x TERM="linux" declare -x USER="root" - +
    + - - + + \ No newline at end of file diff --git a/c/exportfs.html b/c/exportfs.html index d0e8947842..8dbf278b74 100644 --- a/c/exportfs.html +++ b/c/exportfs.html @@ -10,7 +10,7 @@ exportfs 命令,Linux exportfs 命令详解:管理NFS共享文件系统列表 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@ -u 取消一个或多个目录的共享。 -f 在“新”模式下,刷新内核共享表之外的任何东西。 任何活动的客户程序将在它们的下次请求中得到 mountd添加的新的共享条目。 -v 输出详细信息。当共享或者取消共享时,显示在做什么。 显示当前共享列表的时候,同时显示共享的选项。 - +
    + - - + + \ No newline at end of file diff --git a/c/expr.html b/c/expr.html index 83fbf9023b..95c2d97a5b 100644 --- a/c/expr.html +++ b/c/expr.html @@ -10,7 +10,7 @@ expr 命令,Linux expr 命令详解:一款表达式计算工具 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ 实例
    result=`expr 2 + 3`
     result=$(expr $no1 + 5)
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/false.html b/c/false.html index 6551df5560..fbbb1e4a41 100644 --- a/c/false.html +++ b/c/false.html @@ -10,7 +10,7 @@ false 命令,Linux false 命令详解:返回状态为失败。 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/fc.html b/c/fc.html index 678694160f..e0711a6bf7 100644 --- a/c/fc.html +++ b/c/fc.html @@ -10,7 +10,7 @@ fc 命令,Linux fc 命令详解:显示历史列表中的命令或修改指定的历史命令并执行。 - Linux 命令搜索引擎 - +
    @@ -116,11 +116,12 @@ fc -s ~=/
  • 关闭终端后,历史列表将被写入历史文件~/.bash_history
  • 环境变量FCEDIT的值为fc默认的编辑器。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/fdisk.html b/c/fdisk.html index 61e02852c5..6e1c02cf37 100644 --- a/c/fdisk.html +++ b/c/fdisk.html @@ -10,7 +10,7 @@ fdisk 命令,Linux fdisk 命令详解:查看磁盘使用情况和磁盘分区 - Linux 命令搜索引擎 - +
    @@ -307,11 +307,12 @@ proc /proc proc defaults 0 0 /dev/sdb1 /oracle ext2 defaults 0 0 /dev/sdb6 /web ext3 defaults 0 0 - +
    + + - - + + \ No newline at end of file diff --git a/c/fgrep.html b/c/fgrep.html index f50bfe86d9..7905591cc5 100644 --- a/c/fgrep.html +++ b/c/fgrep.html @@ -10,7 +10,7 @@ fgrep 命令,Linux fgrep 命令详解:为文件搜索文字字符串 - Linux 命令搜索引擎 - +
    @@ -109,11 +109,12 @@ n:将文件中每行的相对行号置于行前。

    显示包含某模式的文件名:

    fgrep -l strcpy *.c
     
    -

    搜索当前目录下以 .c 结尾的文件,然后显示包含 strcpy 字符串的文件名。

    +

    搜索当前目录下以 .c 结尾的文件,然后显示包含 strcpy 字符串的文件名。

    + - - + + \ No newline at end of file diff --git a/c/file.html b/c/file.html index 2f85aa1721..1975fafcbe 100644 --- a/c/file.html +++ b/c/file.html @@ -10,7 +10,7 @@ file 命令,Linux file 命令详解:用来探测给定文件的类型 - Linux 命令搜索引擎 - +
    @@ -104,11 +104,12 @@ lrwxrwxrwx 1 root root [root@localhost ~]# file -L /var/spool/mail /var/spool/mail: directory - +
    + + - - + + \ No newline at end of file diff --git a/c/findfs.html b/c/findfs.html index 547274f647..5fa7d200b0 100644 --- a/c/findfs.html +++ b/c/findfs.html @@ -10,7 +10,7 @@ findfs 命令,Linux findfs 命令详解:标签或UUID查找文件系统 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@

    通过卷标名查找对应的文件系统:

    findfs LABEL=/boot
     /dev/hda1
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/finger.html b/c/finger.html index e5695ad681..aebce3eb2d 100644 --- a/c/finger.html +++ b/c/finger.html @@ -10,7 +10,7 @@ finger 命令,Linux finger 命令详解:用于查找并显示用户信息 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ root root tty1 2 Dec 1 Dec 18 13 root root *pts/1 Dec 18 13 -

    如果要查询远程机上的用户信息,需要在用户名后面接@主机名,采用用户名@主机名的格式,不过要查询的网络主机需要运行finger守护进程的支持。

    +

    如果要查询远程机上的用户信息,需要在用户名后面接@主机名,采用用户名@主机名的格式,不过要查询的网络主机需要运行finger守护进程的支持。

    + + - - + + \ No newline at end of file diff --git a/c/free.html b/c/free.html index d3da81f466..002a7b8342 100644 --- a/c/free.html +++ b/c/free.html @@ -10,7 +10,7 @@ free 命令,Linux free 命令详解:显示内存的使用情况 - Linux 命令搜索引擎 - +
    @@ -174,11 +174,12 @@ DirectMap1G: 5242880 kB

    Buffer cache是针对磁盘块的缓存,也就是在没有文件系统的情况下,直接对磁盘进行操作的数据会缓存到buffer cache中,例如,文件系统的元数据都会缓存到buffer cache中。

    简单说来,page cache用来缓存文件数据,buffer cache用来缓存磁盘数据。在有文件系统的情况下,对文件操作,那么数据会缓存到page cache,如果直接采用dd等工具对磁盘进行读写,那么数据会缓存到buffer cache。

    所以我们看linux,只要不用swap的交换空间,就不用担心自己的内存太少.如果常常swap用很多,可能你就要考虑加物理内存了.这也是linux看内存是否够用的标准.

    -

    如果是应用服务器的话,一般只看第二行,+buffers/cache,即对应用程序来说free的内存太少了,也是该考虑优化程序或加内存了。

    +

    如果是应用服务器的话,一般只看第二行,+buffers/cache,即对应用程序来说free的内存太少了,也是该考虑优化程序或加内存了。

    + - - + + \ No newline at end of file diff --git a/c/fsck.html b/c/fsck.html index 597fe32ba2..f213cd0201 100644 --- a/c/fsck.html +++ b/c/fsck.html @@ -10,7 +10,7 @@ fsck 命令,Linux fsck 命令详解:检查并且试图修复文件系统中的错误 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@
    fsck
     

    在随后的多个确认对话框中输入:y

    -

    结束后同样使用reboot命令重启系统这样就好了!

    +

    结束后同样使用reboot命令重启系统这样就好了!

    + - - + + \ No newline at end of file diff --git a/c/ftp.html b/c/ftp.html index f3c86710c0..7354060880 100644 --- a/c/ftp.html +++ b/c/ftp.html @@ -10,7 +10,7 @@ ftp 命令,Linux ftp 命令详解:用来设置文件系统相关功能 - Linux 命令搜索引擎 - +
    @@ -125,11 +125,12 @@ ftp> mget *.txt ftp> put /path/readme.txt # 上传 readme.txt 文件 ftp> mput *.txt # 可以上传多个文件 - +
    + + - - + + \ No newline at end of file diff --git a/c/ftpshut.html b/c/ftpshut.html index 5b58b53f56..e9e25abeda 100644 --- a/c/ftpshut.html +++ b/c/ftpshut.html @@ -10,7 +10,7 @@ ftpshut 命令,Linux ftpshut 命令详解:在指定的时间关闭FTP服务器 - Linux 命令搜索引擎 - +
    @@ -59,11 +59,12 @@

    参数:

    -d<分钟>   切断所有FTP连线时间。
     -l<分钟>   停止接受FTP登入的时间。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ftptop.html b/c/ftptop.html index c334e962d9..b602e18e10 100644 --- a/c/ftptop.html +++ b/c/ftptop.html @@ -10,7 +10,7 @@ ftptop 命令,Linux ftptop 命令详解:proftpd服务器的连接状态 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@
    -D:过滤正在下载的会话;
     -S:仅显示指定虚拟主机的连接状态;
     -d:指定屏幕刷新时间,默认
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ftpwho.html b/c/ftpwho.html index bfd1dae04b..5c3a3a0b61 100644 --- a/c/ftpwho.html +++ b/c/ftpwho.html @@ -10,7 +10,7 @@ ftpwho 命令,Linux ftpwho 命令详解:显示当前每个ftp会话信息 - Linux 命令搜索引擎 - +
    @@ -63,11 +63,12 @@ 选项
    -h:显示帮助信息;
     -v:详细模式,输出更多信息。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/fuser.html b/c/fuser.html index 32211f01b0..c3f02c293b 100644 --- a/c/fuser.html +++ b/c/fuser.html @@ -10,7 +10,7 @@ fuser 命令,Linux fuser 命令详解:使用文件或文件结构识别进程 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@

    要列出正在使用已从给定文件系统删除的文件的全部进程,请输入:

    fuser -d /usr文件
     
    -

    /dev/kmem 用于系统映像。
    /dev/mem  也用于系统映像。

    +

    /dev/kmem 用于系统映像。
    /dev/mem  也用于系统映像。

    + - - + + \ No newline at end of file diff --git a/c/gcc.html b/c/gcc.html index da55c3397c..7d28caff04 100644 --- a/c/gcc.html +++ b/c/gcc.html @@ -10,7 +10,7 @@ gcc 命令,Linux gcc 命令详解:基于C/C++的编译器 - Linux 命令搜索引擎 - +
    @@ -116,11 +116,12 @@ gcc -c test.c #将test.c编译成test.o gcc -o testfun.o test.o -o test #将testfun.o和test.o链接成test -

    以上两种方法相比较,第一中方法编译时需要所有文件重新编译,而第二种方法可以只重新编译修改的文件,未修改的文件不用重新编译。

    +

    以上两种方法相比较,第一中方法编译时需要所有文件重新编译,而第二种方法可以只重新编译修改的文件,未修改的文件不用重新编译。

    + - - + + \ No newline at end of file diff --git a/c/gcov.html b/c/gcov.html index a74eaeca8b..9777219c2d 100644 --- a/c/gcov.html +++ b/c/gcov.html @@ -10,7 +10,7 @@ gcov 命令,Linux gcov 命令详解:测试程序的代码覆盖率的工具 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    V语言文件:C语言源代码文件。

    +

    V语言文件:C语言源代码文件。

    + - - + + \ No newline at end of file diff --git a/c/gdb.html b/c/gdb.html index f0ecc11b18..2f76d8b2ca 100644 --- a/c/gdb.html +++ b/c/gdb.html @@ -10,7 +10,7 @@ gdb 命令,Linux gdb 命令详解:功能强大的程序调试器 - Linux 命令搜索引擎 - +
    @@ -391,11 +391,12 @@ q 退出调试 change2(&a,&b); printf("change2:\na=%d\nb=%d\n", a,b); } - +
    + - - + + \ No newline at end of file diff --git a/c/get_module.html b/c/get_module.html index 4bdc71596d..6370e25588 100644 --- a/c/get_module.html +++ b/c/get_module.html @@ -10,7 +10,7 @@ get_module 命令,Linux get_module 命令详解:获取Linux内核模块的详细信息 - Linux 命令搜索引擎 - +
    @@ -102,11 +102,12 @@ Sections: __ksymtab_strings : 0xf8f1da44 __param : 0xf8f1da08 __versions : 0xf8f1df00 - +
    + - - + + \ No newline at end of file diff --git a/c/getenforce.html b/c/getenforce.html index 3d88d4ce3f..532a09d6b4 100644 --- a/c/getenforce.html +++ b/c/getenforce.html @@ -10,7 +10,7 @@ getenforce 命令,Linux getenforce 命令详解:显示当前SELinux的应用模式,是强制、执行还是停用 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@

    查看当前SELinux的应用模式。

    [root@localhost ~]# getenforce
     Enforcing
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/getsebool.html b/c/getsebool.html index 7b64b660fe..763e3ffc81 100644 --- a/c/getsebool.html +++ b/c/getsebool.html @@ -10,7 +10,7 @@ getsebool 命令,Linux getsebool 命令详解:查询SElinux策略内各项规则的布尔值 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@ allow_daemons_dump_core --> on

    查询httpd_enable_homedirs是否为关闭,若没关闭,请关闭它:

    getsebool httpd_enable_homedirs
     setsebool -P httpd_enable_homedirs=0    # 0是关闭  1是开启
    -
    +
    + + - - + + \n''2.详细描述' #提交简要描述和详细描述 @@ -1021,11 +1023,12 @@ rm -rf repo.git
  • Git 本地仓库和裸仓库
  • 沉浸式学 Git
  • Git进阶用法,主要是rebase高级用法
  • - + + - - + + \ No newline at end of file diff --git a/c/gpasswd.html b/c/gpasswd.html index ed66cf5d2c..d7e5d3c90a 100644 --- a/c/gpasswd.html +++ b/c/gpasswd.html @@ -10,7 +10,7 @@ gpasswd 命令,Linux gpasswd 命令详解:Linux下工作组文件的管理工具 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@ gpasswd -a allen users

    注意:添加用户到某一个组 可以使用usermod -G group_name user_name这个命令可以添加一个用户到指定的组,但是以前添加的组就会清空掉。

    所以想要添加一个用户到一个组,同时保留以前添加的组时,请使用gpasswd这个命令来添加操作用户:

    gpasswd -a user_name group_name
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/gpm.html b/c/gpm.html index 283c597277..d513e5f817 100644 --- a/c/gpm.html +++ b/c/gpm.html @@ -10,7 +10,7 @@ gpm 命令,Linux gpm 命令详解:提供文字模式下的滑鼠事件处理 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@ -B:设置鼠标按键次序; -m:指定鼠标设备文件; -t:设置鼠标类型。 - +
    + - - + + \ No newline at end of file diff --git a/c/grep.html b/c/grep.html index 3362706367..b40d498058 100644 --- a/c/grep.html +++ b/c/grep.html @@ -10,7 +10,7 @@ grep 命令,Linux grep 命令详解:强大的文本搜索工具 - Linux 命令搜索引擎 - +
    @@ -93,6 +93,7 @@ $ # 锚定行的结束 如:'grep
    + - - + + 匹配所有以grep结尾的行。 . # 匹配一个非换行符的字符 如:'gr.p'匹配gr后接一个任意字符,然后是p。 @@ -262,11 +263,12 @@ b -- a b - + + - - + + \ No newline at end of file diff --git a/c/groupadd.html b/c/groupadd.html index 55f01446ce..87eb6f760d 100644 --- a/c/groupadd.html +++ b/c/groupadd.html @@ -10,7 +10,7 @@ groupadd 命令,Linux groupadd 命令详解:用于创建一个新的工作组 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@

    建立一个新组,并设置组ID加入系统:

    groupadd -g 344 jsdigname
     
    -

    此时在/etc/passwd文件中产生一个组ID(GID)是344的项目。

    +

    此时在/etc/passwd文件中产生一个组ID(GID)是344的项目。

    + - - + + \ No newline at end of file diff --git a/c/groupdel.html b/c/groupdel.html index c1b1c4300c..91dafd933b 100644 --- a/c/groupdel.html +++ b/c/groupdel.html @@ -10,7 +10,7 @@ groupdel 命令,Linux groupdel 命令详解:用于删除指定的工作组 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ 实例
    groupadd damon  //创建damon工作组
     groupdel damon  //删除这个工作组
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/groupmod.html b/c/groupmod.html index c34f5e169c..b2ad72b920 100644 --- a/c/groupmod.html +++ b/c/groupmod.html @@ -10,7 +10,7 @@ groupmod 命令,Linux groupmod 命令详解:更改群组识别码或名称 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@

    参数

    -

    组名:指定要修改的工作的组名。

    +

    组名:指定要修改的工作的组名。

    + - - + + \ No newline at end of file diff --git a/c/groups.html b/c/groups.html index d84dfff090..e7c0a6ad64 100644 --- a/c/groups.html +++ b/c/groups.html @@ -10,7 +10,7 @@ groups 命令,Linux groups 命令详解:打印指定用户所在组的名称。 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@ linux : linux adm dialout cdrom pl
  • 该命令等价于 id -Gn
  • 每个用户属于/etc/passwd中指定的一个组和在/etc/group中指定的其他组。
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 groupsinfo coreutils 'groups invocation'
  • - +
    + - - + + \ No newline at end of file diff --git a/c/grpck.html b/c/grpck.html index a11f7164d7..9b72ee822c 100644 --- a/c/grpck.html +++ b/c/grpck.html @@ -10,7 +10,7 @@ grpck 命令,Linux grpck 命令详解:用于验证组文件的完整性 - Linux 命令搜索引擎 - +
    @@ -83,11 +83,12 @@ delete line 'check_user:x:'? y # 这时已经删除了错误的行,提示文件已经更新。 **cat /etc/group | grep check_user # 没有查到,已经删除了。** - +
    + - - + + \ No newline at end of file diff --git a/c/grpconv.html b/c/grpconv.html index f0f0c76581..bf1becb99e 100644 --- a/c/grpconv.html +++ b/c/grpconv.html @@ -10,7 +10,7 @@ grpconv 命令,Linux grpconv 命令详解:用来开启群组的投影密码 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@ cdy:x:1000: # 看出密码段已经被x替代cat /etc/gshadow | grep cdy cdy:123456:: # 已经移到影子文件了 -

    注:gshadow, shadow只有root权限才可以查看。

    +

    注:gshadow, shadow只有root权限才可以查看。

    + + - - + + \ No newline at end of file diff --git a/c/grub.html b/c/grub.html index f5bd78157c..6ced41b6ce 100644 --- a/c/grub.html +++ b/c/grub.html @@ -10,7 +10,7 @@ grub 命令,Linux grub 命令详解:多重引导程序grub的命令行shell工具 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@ initrd /boot/initrd.img-2.6.15-26-386 boot

    即可启动系统。

    -

    这里的关键问题是如何确定系统的几个分区:/boot / /sbin

    +

    这里的关键问题是如何确定系统的几个分区:/boot / /sbin

    + - - + + \ No newline at end of file diff --git a/c/gunzip.html b/c/gunzip.html index 1103938de4..da81f5915c 100644 --- a/c/gunzip.html +++ b/c/gunzip.html @@ -10,7 +10,7 @@ gunzip 命令,Linux gunzip 命令详解:用来解压缩文件 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ compressed uncompressed ratio uncompressed_name 或者执行 [root@mylinux ~]#gunzip /opt/etc.zip.gz -

    通过上面的示例可以知道gzip –d等价于gunzip命令。

    +

    通过上面的示例可以知道gzip –d等价于gunzip命令。

    + - - + + \ No newline at end of file diff --git a/c/gzexe.html b/c/gzexe.html index 9503dae760..92771db50d 100644 --- a/c/gzexe.html +++ b/c/gzexe.html @@ -10,7 +10,7 @@ gzexe 命令,Linux gzexe 命令详解:用来压缩可执行文件 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@

    参数

    -

    文件:指定需要压缩的可执行文件。

    +

    文件:指定需要压缩的可执行文件。

    + - - + + \ No newline at end of file diff --git a/c/gzip.html b/c/gzip.html index 6a1eb82b86..fb69cbf99b 100644 --- a/c/gzip.html +++ b/c/gzip.html @@ -10,7 +10,7 @@ gzip 命令,Linux gzip 命令详解:用来压缩文件 - Linux 命令搜索引擎 - +
    @@ -111,11 +111,12 @@

    保留原始文件,把压缩/解压流重定向到新文件

    gzip -c aa > aa.gz
     gzip -dc bb.gz > bb
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/halt.html b/c/halt.html index 8fd254a997..9bc7418aa0 100644 --- a/c/halt.html +++ b/c/halt.html @@ -10,7 +10,7 @@ halt 命令,Linux halt 命令详解:关闭正在运行的Linux操作系统 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@ 实例
    halt -p     # 关闭系统后关闭电源。
     halt -d     # 关闭系统,但不留下纪录。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/hdparm.html b/c/hdparm.html index a7021af333..779bbcfd92 100644 --- a/c/hdparm.html +++ b/c/hdparm.html @@ -10,7 +10,7 @@ hdparm 命令,Linux hdparm 命令详解:显示与设定硬盘的参数 - Linux 命令搜索引擎 - +
    @@ -137,11 +137,12 @@ hdparm -m #参数值为整数值如8 /dev/sda检查:smartctl -l selftest /dev/sda 卸载:umount /dev/sda* 修复:badblocks /dev/sda - +
    + + - - + + \ No newline at end of file diff --git a/c/help.html b/c/help.html index 00b74149de..3514fdb267 100644 --- a/c/help.html +++ b/c/help.html @@ -10,7 +10,7 @@ help 命令,Linux help 命令详解:该命令是bash内建命令,用于显示bash内建命令的帮助信息。 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ shopt: shopt 添加命令 | 命令列表 | @@ -122,7 +123,7 @@ shopt: shopt - - + + \ No newline at end of file diff --git a/c/hexdump.html b/c/hexdump.html index 00c1e41ead..6c2b828628 100644 --- a/c/hexdump.html +++ b/c/hexdump.html @@ -10,7 +10,7 @@ hexdump 命令,Linux hexdump 命令详解:显示文件十六进制格式 - Linux 命令搜索引擎 - +
    @@ -91,11 +91,12 @@ 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F | ................ 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F | ................ 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F | !"#$%&'()*+,-./ - +
    + - - + + \ No newline at end of file diff --git a/c/history.html b/c/history.html index 87060ba61d..47b27470c2 100644 --- a/c/history.html +++ b/c/history.html @@ -10,7 +10,7 @@ history 命令,Linux history 命令详解:显示或操作历史列表。 - Linux 命令搜索引擎 - +
    @@ -123,11 +123,12 @@
  • 环境变量HISTSIZE决定了历史文件中命令的存储数量,默认存储1000条。
  • 环境变量HISTTIMEFORMAT如果是非空值,则使用其值作为strftime(3)打印相关时间戳的格式字符串添加在每个显示的历史记录之前;否则不会打印时间戳。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/host.html b/c/host.html index acd4aedd6b..e582e3e845 100644 --- a/c/host.html +++ b/c/host.html @@ -10,7 +10,7 @@ host 命令,Linux host 命令详解:常用的分析域名查询工具 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@ Trying "www.jsdig.com" www.jsdig.com. 463 IN CNAME host.1.jsdig.com. Received 54 bytes from 202.96.104.15#53 in 0 ms - +
    + + - - + + \ No newline at end of file diff --git a/c/hostname.html b/c/hostname.html index 835a7e4db5..683116ca06 100644 --- a/c/hostname.html +++ b/c/hostname.html @@ -10,7 +10,7 @@ hostname 命令,Linux hostname 命令详解:显示和设置系统的主机名 - Linux 命令搜索引擎 - +
    @@ -101,11 +101,12 @@ AY1307311912260196fcZ

    显示主机的所有IP地址

    [root@AY1307311912260196fcZ ~]# hostname -I
     10.17.0.1 10.18.0.10 172.17.0.1
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/hostnamectl.html b/c/hostnamectl.html index d71eb9ffd5..a58cc8d6cc 100644 --- a/c/hostnamectl.html +++ b/c/hostnamectl.html @@ -10,7 +10,7 @@ hostnamectl 命令,Linux hostnamectl 命令详解:查询或更改系统主机名 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ set-location NAME 设置主机位置

    改变主机名(永久修改,不用重启哦~)

    $ sudo hostnamectl set-hostname newname
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/hping3.html b/c/hping3.html index 2ee46a497f..468f6cdf94 100644 --- a/c/hping3.html +++ b/c/hping3.html @@ -10,7 +10,7 @@ hping3 命令,Linux hping3 命令详解:测试网络及主机的安全 - Linux 命令搜索引擎 - +
    @@ -168,11 +168,12 @@ hping3 192.168.10.44 -p53 -d 100 --udp --sign siganature --file ./test.cmd

    将包含ls命令的文件加上签名signature发送到192.168.10.44主机的53号UDP端口,包数据长度为100字节。

    -

    当然这里只是简单的演示程序,真实的场景,控制端可以利益shell执行很多的高级复杂的操作。

    +

    当然这里只是简单的演示程序,真实的场景,控制端可以利益shell执行很多的高级复杂的操作。

    + + - - + + \ No newline at end of file diff --git a/c/htop.html b/c/htop.html index 7eea105f3e..d7e3427681 100644 --- a/c/htop.html +++ b/c/htop.html @@ -10,7 +10,7 @@ htop 命令,Linux htop 命令详解:[非内部命令]一个互动的进程查看器,可以动态观察系统进程状况 - Linux 命令搜索引擎 - +
    @@ -168,12 +168,12 @@ F7表示减小nice值(增大优先级<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
    + + - - + + \ No newline at end of file diff --git a/c/hwclock.html b/c/hwclock.html index 2a84de8255..bb0eef85a7 100644 --- a/c/hwclock.html +++ b/c/hwclock.html @@ -10,7 +10,7 @@ hwclock 命令,Linux hwclock 命令详解:显示与设定硬件时钟 - Linux 命令搜索引擎 - +
    @@ -92,11 +92,12 @@ hwclock --systohc –-utc ZONE="America/Los_Angeles" UTC=false ARC=false - +
    + - - + + \ No newline at end of file diff --git a/c/iconv.html b/c/iconv.html index 87a663de89..1ada5fd5e2 100644 --- a/c/iconv.html +++ b/c/iconv.html @@ -10,7 +10,7 @@ iconv 命令,Linux iconv 命令详解:转换文件的编码方式 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@

    将文件file1转码,转后文件输出到fil2中: 

    iconv file1 -f EUC-JP-MS -t UTF-8 -o file2 
     
    -

    这里,没-o那么会输出到标准输出。

    +

    这里,没-o那么会输出到标准输出。

    + - - + + \ No newline at end of file diff --git a/c/id.html b/c/id.html index 5ab8907af8..931366dae0 100644 --- a/c/id.html +++ b/c/id.html @@ -10,7 +10,7 @@ id 命令,Linux id 命令详解:打印真实以及有效的用户和所在组的信息 - Linux 命令搜索引擎 - +
    @@ -127,11 +127,12 @@
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 idinfo coreutils 'id invocation'

  • - +
    + - - + + \ No newline at end of file diff --git a/c/ifcfg.html b/c/ifcfg.html index 7fcef7beb9..d14cccb889 100644 --- a/c/ifcfg.html +++ b/c/ifcfg.html @@ -10,7 +10,7 @@ ifcfg 命令,Linux ifcfg 命令详解:置Linux中的网络接口参数 - Linux 命令搜索引擎 - +
    @@ -65,11 +65,12 @@ add/del:添加或删除网络接口上的地址; ip地址:指定IP地址和子网掩码; Stop:停用指定的网络接口的IP地址。 - +
    + - - + + \ No newline at end of file diff --git a/c/ifconfig.html b/c/ifconfig.html index 09da6d5c6d..5b3bef43bb 100644 --- a/c/ifconfig.html +++ b/c/ifconfig.html @@ -10,7 +10,7 @@ ifconfig 命令,Linux ifconfig 命令详解:配置和显示Linux系统网卡的网络参数 - Linux 命令搜索引擎 - +
    @@ -140,11 +140,12 @@ lo Link encap:Local Loopback
    ifconfig   #处于激活状态的网络接口
     ifconfig -a  #所有配置的网络接口,不论其是否激活
     ifconfig eth0  #显示eth0的网卡信息
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ifdown.html b/c/ifdown.html index a77843a71b..3cc2129cc1 100644 --- a/c/ifdown.html +++ b/c/ifdown.html @@ -10,7 +10,7 @@ ifdown 命令,Linux ifdown 命令详解:禁用指定的网络接口 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@ 实例
    ifdown eth0  #禁用eth0
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ifstat.html b/c/ifstat.html index 3aebb5a175..5296fe27ed 100644 --- a/c/ifstat.html +++ b/c/ifstat.html @@ -10,7 +10,7 @@ ifstat 命令,Linux ifstat 命令详解:统计网络接口流量状态 - Linux 命令搜索引擎 - +
    @@ -116,11 +116,12 @@ HH:MM:ss KB/s in KB/s out KB/s 0.00 0.00 0.28 0.58 0.06 0.06 0.00 0.00 1.41 1.13 0.00 0.00 0.61 0.61 0.26 0.23 0.00 0.00 - +
    + + + - - + + \ No newline at end of file diff --git a/c/indent.html b/c/indent.html index 144a767e98..067a73a2a7 100644 --- a/c/indent.html +++ b/c/indent.html @@ -10,7 +10,7 @@ indent 命令,Linux indent 命令详解:格式化C语言的源文件 - Linux 命令搜索引擎 - +
    @@ -123,11 +123,12 @@ indent(选项)
    indent -bs /home/rootlocal/桌面/test.c
     
    -

    执行上面的命令后,用户可以打开指定的源文件查看在sizeof后面是否都添加了一个空格。由于该命令的参数非常多,所以用户可以根据实际需要选择适合的参数进行使用即可。

    +

    执行上面的命令后,用户可以打开指定的源文件查看在sizeof后面是否都添加了一个空格。由于该命令的参数非常多,所以用户可以根据实际需要选择适合的参数进行使用即可。

    + + - - + + \ No newline at end of file diff --git a/c/init.html b/c/init.html index c504afb66d..82e585dd5e 100644 --- a/c/init.html +++ b/c/init.html @@ -10,7 +10,7 @@ init 命令,Linux init 命令详解:init进程是所有Linux进程的父进程 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@ #4 没有用到 #5 x11(Xwindow) #6 重新启动(千万不要把initdefault 设置为6) - +
    + - - + + \ No newline at end of file diff --git a/c/inotifywait.html b/c/inotifywait.html index 6ea0b457cb..86bfd44943 100644 --- a/c/inotifywait.html +++ b/c/inotifywait.html @@ -10,7 +10,7 @@ inotifywait 命令,Linux inotifywait 命令详解:异步文件系统监控机制 - Linux 命令搜索引擎 - +
    @@ -184,11 +184,12 @@ total 0 删除 ,文件被删除。 - +
    + - - + + \ No newline at end of file diff --git a/c/insmod.html b/c/insmod.html index 95015aafe2..fd1cc398ba 100644 --- a/c/insmod.html +++ b/c/insmod.html @@ -10,7 +10,7 @@ insmod 命令,Linux insmod 命令详解:将给定的模块加载到内核中 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@ [root@localhost boot]# lsmod | grep raid1 raid1 25153 0 -

    从以上显示结果可知,RAID1模块已加载成功。只是在使用insmod命令加载模块时,需要使用绝对路径方能加载,且加载时无法自动解决依赖关系。

    +

    从以上显示结果可知,RAID1模块已加载成功。只是在使用insmod命令加载模块时,需要使用绝对路径方能加载,且加载时无法自动解决依赖关系。

    + + - - + + \ No newline at end of file diff --git a/c/iostat.html b/c/iostat.html index 8f7fdd6ff8..30c8c0e755 100644 --- a/c/iostat.html +++ b/c/iostat.html @@ -10,7 +10,7 @@ iostat 命令,Linux iostat 命令详解:监视系统输入输出设备和CPU的使用情况 - Linux 命令搜索引擎 - +
    @@ -161,11 +161,12 @@ sda1 0.02 被I/O需求消耗的CPU百分比 - +
    + + - - + + \ No newline at end of file diff --git a/c/ip.html b/c/ip.html index 51f29d81bc..eb8aaee22d 100644 --- a/c/ip.html +++ b/c/ip.html @@ -10,7 +10,7 @@ ip 命令,Linux ip 命令详解:网络配置工具 - Linux 命令搜索引擎 - +
    @@ -159,11 +159,12 @@ default via 112.124.15.247 dev eth1

    获取主机所有网络接口

    ip link | grep -E '^[0-9]' | awk -F: '{print $2}'
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ip6tables-restore.html b/c/ip6tables-restore.html index 976b7ce5a7..3f7e261b73 100644 --- a/c/ip6tables-restore.html +++ b/c/ip6tables-restore.html @@ -10,7 +10,7 @@ ip6tables-restore 命令,Linux ip6tables-restore 命令详解:还原ip6tables表 - Linux 命令搜索引擎 - +
    @@ -63,11 +63,12 @@ 选项
    -c:指定在还原iptables表时,还原当前的数据包计数器和字节计数器值;
     -t:指定要还原的表的名称。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ip6tables-save.html b/c/ip6tables-save.html index bd43e9f588..71ca91f184 100644 --- a/c/ip6tables-save.html +++ b/c/ip6tables-save.html @@ -10,7 +10,7 @@ ip6tables-save 命令,Linux ip6tables-save 命令详解:保存ip6tables表配置 - Linux 命令搜索引擎 - +
    @@ -63,11 +63,12 @@ 选项
    -c:指定在保存iptables表时,保存当前的数据包计数器和字节计数器值;
     -t:指定要保存的表的名称。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ip6tables.html b/c/ip6tables.html index 485e06d9e9..b691a21496 100644 --- a/c/ip6tables.html +++ b/c/ip6tables.html @@ -10,7 +10,7 @@ ip6tables 命令,Linux ip6tables 命令详解:linux中防火墙软件 - Linux 命令搜索引擎 - +
    @@ -199,11 +199,12 @@ num pkts bytes target prot opt in o -A ICMPv6 -p icmpv6 --icmpv6-type 153 -s fe80::/10 -j ACCEPT -A ICMPv6 -j RETURN -A OUTPUT -p icmpv6 -j ACCEPT - +
    + - - + + \ No newline at end of file diff --git a/c/ipcalc.html b/c/ipcalc.html index 3b9da20896..43d88b00ed 100644 --- a/c/ipcalc.html +++ b/c/ipcalc.html @@ -10,7 +10,7 @@ ipcalc 命令,Linux ipcalc 命令详解:简单的IP地址计算器 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@ PREFIX=24 BROADCAST=192.168.2.255 NETWORK=192.168.2.0 - +
    + - - + + \ No newline at end of file diff --git a/c/ipcrm.html b/c/ipcrm.html index a01c3df3b4..84fd910ccd 100644 --- a/c/ipcrm.html +++ b/c/ipcrm.html @@ -10,7 +10,7 @@ ipcrm 命令,Linux ipcrm 命令详解:删除消息队列、信号集、或者共享内存标识 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@ 示例

    如果要删除和 SharedMemoryID 18602 相关的共享内存段,请输入:

    ipcrm -m 18602
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ipcs.html b/c/ipcs.html index a1b328e689..de4149bd8a 100644 --- a/c/ipcs.html +++ b/c/ipcs.html @@ -10,7 +10,7 @@ ipcs 命令,Linux ipcs 命令详解:分析消息队列共享内存和信号量 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ key shmid owner perms bytes nattch status 0x00000000 3145729 root 600 4194304 9 dest 0x7401833c 2621442 root 600 4 0 0xd201012b 3080195 root 600 1720 2 - +
    + - - + + \ No newline at end of file diff --git a/c/iperf.html b/c/iperf.html index 01500ab0f6..734b4a5556 100644 --- a/c/iperf.html +++ b/c/iperf.html @@ -10,7 +10,7 @@ iperf 命令,Linux iperf 命令详解:网络性能测试工具 - Linux 命令搜索引擎 - +
    @@ -276,11 +276,12 @@

    客户端同时向服务器端发起30个连接线程。

    iperf -c 192.168.1.1  -d -t 60
     
    -

    进行上下行带宽测试。

    +

    进行上下行带宽测试。

    + - - + + \ No newline at end of file diff --git a/c/iptables-restore.html b/c/iptables-restore.html index 32e9f1eb87..1049729ab4 100644 --- a/c/iptables-restore.html +++ b/c/iptables-restore.html @@ -10,7 +10,7 @@ iptables-restore 命令,Linux iptables-restore 命令详解:还原iptables表的配置 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ 实例
    iptables-restore < iptables.bak
     
    -

    iptables.bak是iptables-save命令所备份的文件。

    +

    iptables.bak是iptables-save命令所备份的文件。

    + - - + + \ No newline at end of file diff --git a/c/iptables-save.html b/c/iptables-save.html index d8e4572825..1b9e47f030 100644 --- a/c/iptables-save.html +++ b/c/iptables-save.html @@ -10,7 +10,7 @@ iptables-save 命令,Linux iptables-save 命令详解:备份iptables的表配置 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ -A INPUT -p icmp -j ACCEPT -A OUTPUT -o lo -j ACCEPT COMMIT - +
    + - - + + \ No newline at end of file diff --git a/c/iptables.html b/c/iptables.html index d807b16127..b7e997cdac 100644 --- a/c/iptables.html +++ b/c/iptables.html @@ -10,7 +10,7 @@ iptables 命令,Linux iptables 命令详解:Linux上常用的防火墙软件 - Linux 命令搜索引擎 - +
    @@ -600,11 +600,12 @@ iptables -t nat -A POST_ROUTING -d 10.10.188.2 #场景五 iptables -I INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 100 -j REJECT # 限制并发连接访问数 iptables -I INPUT -m limit --limit 3/hour --limit-burst 10 -j ACCEPT # limit模块; --limit-burst 默认为5 - +
    + - - + + \ No newline at end of file diff --git a/c/iptraf.html b/c/iptraf.html index 66b55a19a9..05cda32da8 100644 --- a/c/iptraf.html +++ b/c/iptraf.html @@ -10,7 +10,7 @@ iptraf 命令,Linux iptraf 命令详解:实时地监视网卡流量 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@ -B;将标注输出重新定向到“/dev/null”,关闭标注输入,将程序作为后台进程运行; -f:清空所有计数器; -h:显示帮助信息。 - +
    + - - + + \ No newline at end of file diff --git a/c/iptstate.html b/c/iptstate.html index da1f49dd8e..7674b4bc14 100644 --- a/c/iptstate.html +++ b/c/iptstate.html @@ -10,7 +10,7 @@ iptstate 命令,Linux iptstate 命令详解:显示iptables的工作状态 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@ -R:反序排列; -s:单次运行模式; -t:显示汇总信息。 - +
    + - - + + \ No newline at end of file diff --git a/c/ispell.html b/c/ispell.html index e143c89939..a9fae80f5c 100644 --- a/c/ispell.html +++ b/c/ispell.html @@ -10,7 +10,7 @@ ispell 命令,Linux ispell 命令详解:检查文件中出现的拼写错误 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件:指定要进行拼写检查的文件。

    +

    文件:指定要进行拼写检查的文件。

    + - - + + \ No newline at end of file diff --git a/c/jed.html b/c/jed.html index 9be2d1904a..bccd74f748 100644 --- a/c/jed.html +++ b/c/jed.html @@ -10,7 +10,7 @@ jed 命令,Linux jed 命令详解:主要用于编辑代码的编辑器 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@ unset_setkey ( /usr/share/jed/lib/site.sl 这是默认的启动文件。 /etc/jed.rc 这是全局系统配置文件。 ~/.jedrc 这是用户配置文件。 - +
    + - - + + \ No newline at end of file diff --git a/c/jobs.html b/c/jobs.html index 902fd7b95c..1ce2919ba8 100644 --- a/c/jobs.html +++ b/c/jobs.html @@ -10,7 +10,7 @@ jobs 命令,Linux jobs 命令详解:显示作业的状态。 - Linux 命令搜索引擎 - +
    @@ -121,11 +121,12 @@ pc@192.168.1.4's password:
  • bash的作业控制命令包括bg fg kill wait disown suspend
  • 该命令需要set选项monitor处于开启状态时才能执行;查看作业控制状态:输入set -o查看monitor行;执行set -o monitorset -m开启该选项。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/joe.html b/c/joe.html index 62b0ef5d55..200dd3deb7 100644 --- a/c/joe.html +++ b/c/joe.html @@ -10,7 +10,7 @@ joe 命令,Linux joe 命令详解:强大的纯文本编辑器 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@

    参数

    -

    文件:指定要编辑的文件。

    +

    文件:指定要编辑的文件。

    + - - + + \ No newline at end of file diff --git a/c/join.html b/c/join.html index f0d06cb1b5..ff691788ea 100644 --- a/c/join.html +++ b/c/join.html @@ -10,7 +10,7 @@ join 命令,Linux join 命令详解:两个文件中指定栏位内容相同的行连接起来 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/jq.html b/c/jq.html index c8e77c82ea..67713eac61 100644 --- a/c/jq.html +++ b/c/jq.html @@ -10,7 +10,7 @@ jq 命令,Linux jq 命令详解:一个灵活的轻量级命令行JSON处理器 - Linux 命令搜索引擎 - +
    @@ -190,11 +190,12 @@ jq [options"The input was 42, which is one less than 43" - +
    + + - - + + \ No newline at end of file diff --git a/c/kernelversion.html b/c/kernelversion.html index 4c4d4f146a..47850f3563 100644 --- a/c/kernelversion.html +++ b/c/kernelversion.html @@ -10,7 +10,7 @@ kernelversion 命令,Linux kernelversion 命令详解:打印当前内核的主版本号 - Linux 命令搜索引擎 - +
    @@ -57,11 +57,12 @@ 语法
    kernelversion
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/kexec.html b/c/kexec.html index a4709819c7..579a3b4e5b 100644 --- a/c/kexec.html +++ b/c/kexec.html @@ -10,7 +10,7 @@ kexec 命令,Linux kexec 命令详解:从当前正在运行的内核引导到一个新内核 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ -f:强制立即调用系统调用“kexec”,而不调用“shutdown”; -t:指定新内核的类型; -u:卸载当前的kexec目标内核。 - +
    + - - + + \ No newline at end of file diff --git a/c/kill.html b/c/kill.html index a52e4524db..c7746131e0 100644 --- a/c/kill.html +++ b/c/kill.html @@ -10,7 +10,7 @@ kill 命令,Linux kill 命令详解:发送信号到进程。 - Linux 命令搜索引擎 - +
    @@ -257,11 +257,12 @@ STOP 19 暂停(同 Ctrl + Z)

    参考链接

    -

    发送信号到进程

    +

    发送信号到进程

    + - - + + \ No newline at end of file diff --git a/c/killall.html b/c/killall.html index cef44c33f7..78e91aa265 100644 --- a/c/killall.html +++ b/c/killall.html @@ -10,7 +10,7 @@ killall 命令,Linux killall 命令详解:使用进程的名称来杀死一组进程 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 实例

    杀死所有同名进程

    killall vi
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/last.html b/c/last.html index efc9db279c..c2a3e71dc8 100644 --- a/c/last.html +++ b/c/last.html @@ -10,7 +10,7 @@ last 命令,Linux last 命令详解:列出目前与过去登入系统的用户相关信息 - Linux 命令搜索引擎 - +
    @@ -90,11 +90,12 @@ root pts/0 49.65.139.195 Wed Dec root pts/0 221.6.45.34 Tue Dec 10 14:41 - 15:52 (01:10) root pts/0 221.6.45.34 Mon Dec 9 17:24 - 17:30 (00:06) root pts/0 221.6.45.34 Mon Dec 9 09:38 - 11:41 (02:02) - +
    + - - + + \ No newline at end of file diff --git a/c/lastb.html b/c/lastb.html index 2ea11298d3..7293712b8e 100644 --- a/c/lastb.html +++ b/c/lastb.html @@ -10,7 +10,7 @@ lastb 命令,Linux lastb 命令详解:列出登入系统失败的用户相关信息 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ root ssh:notty 110.84.129.3 Mon Dec root ssh:notty 110.84.129.3 Mon Dec 16 19:12 - 19:12 (00:00) root ssh:notty 110.84.129.3 Mon Dec 16 17:00 - 17:00 (00:00) admin ssh:notty 129.171.193.99 Mon Dec 16 16:52 - 16:52 (00:00) - +
    + - - + + \ No newline at end of file diff --git a/c/lastlog.html b/c/lastlog.html index abbe65b4c2..4c721942e7 100644 --- a/c/lastlog.html +++ b/c/lastlog.html @@ -10,7 +10,7 @@ lastlog 命令,Linux lastlog 命令详解:显示系统中所有用户最近一次登录信息 - Linux 命令搜索引擎 - +
    @@ -96,11 +96,12 @@ ldap **Never logged in** postfix **Never logged in** www **Never logged in** mysql **Never logged in** - +
    + - - + + \ No newline at end of file diff --git a/c/ld.html b/c/ld.html index 3531801857..0b341daee8 100644 --- a/c/ld.html +++ b/c/ld.html @@ -10,7 +10,7 @@ ld 命令,Linux ld 命令详解:将目标文件连接为可执行程序 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@ ld [optionsld -o <output> /lib/crt0.o hello.o -lc ld -o output /lib/crt0.o hello.o -lc - +
    + - - + + \ No newline at end of file diff --git a/c/ldconfig.html b/c/ldconfig.html index c40074767c..10d6b184f6 100644 --- a/c/ldconfig.html +++ b/c/ldconfig.html @@ -10,7 +10,7 @@ ldconfig 命令,Linux ldconfig 命令详解:动态链接库管理命令 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@
  • ldconfig做的这些东西都与运行程序时有关,跟编译时一点关系都没有。编译的时候还是该加-L就得加,不要混淆了。
  • 总之,就是不管做了什么关于library的变动后,最好都ldconfig一下,不然会出现一些意想不到的结果。不会花太多的时间,但是会省很多的事。
  • 再有,诸如libdb-4.3.so文件头中是会含有库名相关的信息的(即含“libdb-4.3.so”,可用strings命令察看),因此仅通过修改文件名以冒充某已被识别的库(如libdb-4.8.so)是行不通的。为此可在编译库的Makefile中直接修改配置信息,指定特别的库名。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/ldd.html b/c/ldd.html index 14e32ec388..2e8e2243f7 100644 --- a/c/ldd.html +++ b/c/ldd.html @@ -10,7 +10,7 @@ ldd 命令,Linux ldd 命令详解:打印程序或者库文件所依赖的共享库列表 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@

    再执行任何的程序,如ls等,看看程序的运行结果。

    ldd显示可执行模块的dependency的工作原理,其实质是通过ld-linux.so(elf动态库的装载器)来实现的。我们知道,ld-linux.so模块会先于executable模块程序工作,并获得控制权,因此当上述的那些环境变量被设置时,ld-linux.so选择了显示可执行模块的dependency。

    -

    实际上可以直接执行ld-linux.so模块,如:/lib/ld-linux.so.2 --list program(这相当于ldd program)

    +

    实际上可以直接执行ld-linux.so模块,如:/lib/ld-linux.so.2 --list program(这相当于ldd program)

    + - - + + \ No newline at end of file diff --git a/c/less.html b/c/less.html index daea12c50d..329b15607a 100644 --- a/c/less.html +++ b/c/less.html @@ -10,7 +10,7 @@ less 命令,Linux less 命令详解:分屏上下翻页浏览文件内容 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@ 实例
    sudo less /var/log/shadowsocks.log
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/let.html b/c/let.html index e80049e4f4..5b1c71e547 100644 --- a/c/let.html +++ b/c/let.html @@ -10,7 +10,7 @@ let 命令,Linux let 命令详解:简单的计算器,执行算术表达式。 - Linux 命令搜索引擎 - +
    @@ -221,11 +221,12 @@ bash:3:command not found...
  • 执行算术计算的命令除了let,还有外部命令exprbc等。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/lftp.html b/c/lftp.html index d9ff48e53c..6b7f540365 100644 --- a/c/lftp.html +++ b/c/lftp.html @@ -10,7 +10,7 @@ lftp 命令,Linux lftp 命令详解:优秀的文件客户端程序 - Linux 命令搜索引擎 - +
    @@ -118,11 +118,12 @@ pget -c -n 10 file.dat set file:charset utf8 set pget:default-n 5 -

    这样,就不用每次进入都要打命令了。其他的set可以自己tab然后help来看。

    +

    这样,就不用每次进入都要打命令了。其他的set可以自己tab然后help来看。

    + + - - + + \ No newline at end of file diff --git a/c/lha.html b/c/lha.html index 0f69f6983f..d863783706 100644 --- a/c/lha.html +++ b/c/lha.html @@ -10,7 +10,7 @@ lha 命令,Linux lha 命令详解:压缩或解压缩lzh格式文件 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@
    lha -a abc.lhz a.b         #压缩a.b文件,压缩后生成 abc.lhz 文件
     lha -a abc2 /home/hnlinux  #压缩目录
     lha -xiw=agis abc          #解压文件abc,到当前目录
    -
    +
    + + - - + + \ No newline at end of file diff --git a/c/ln.html b/c/ln.html index 17f987d89d..49ac5f2ef8 100644 --- a/c/ln.html +++ b/c/ln.html @@ -10,7 +10,7 @@ ln 命令,Linux ln 命令详解:用来为文件创建链接 - Linux 命令搜索引擎 - +
    @@ -165,11 +165,12 @@ total 0
  • 在目录长列表中,符号链接作为一种特殊的文件类型显示出来,其第一个字母是l。
  • 符号链接的大小是其链接文件的路径名中的字节数。
  • 当用ls -l命令列出文件时,可以看到符号链接名后有一个箭头指向源文件或目录,例如lrwxrwxrwx … 14 jun 20 10:20 /etc/motd->/original_file其中,表示“文件大小”的数字“14”恰好说明源文件名original_file由14个字符构成。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/lnstat.html b/c/lnstat.html index f3ddc43a30..fefc93d7f2 100644 --- a/c/lnstat.html +++ b/c/lnstat.html @@ -10,7 +10,7 @@ lnstat 命令,Linux lnstat 命令详解:显示Linux系统的网路状态 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ -k:只显示给定的关键字; -s:是否显示标题头; -w:指定每个字段所占的宽度。 - +
    + - - + + \ No newline at end of file diff --git a/c/local.html b/c/local.html index 491845ebfb..1d391b8fe3 100644 --- a/c/local.html +++ b/c/local.html @@ -10,7 +10,7 @@ local 命令,Linux local 命令详解:在函数内定义局部变量。 - Linux 命令搜索引擎 - +
    @@ -92,11 +92,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令以及man bashinfo bash的相应部分。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/locate.html b/c/locate.html index 888bcd9110..4661acf546 100644 --- a/c/locate.html +++ b/c/locate.html @@ -10,7 +10,7 @@ locate 命令,Linux locate 命令详解:比 find 好用的文件查找工具 - Linux 命令搜索引擎 - +
    @@ -120,11 +120,12 @@ /etc/mailcap.order /etc/manpath.config /etc/mate-settings-daemon - +
    + - - + + \ No newline at end of file diff --git a/c/logger.html b/c/logger.html index 26da7bcff7..1302c0466b 100644 --- a/c/logger.html +++ b/c/logger.html @@ -10,7 +10,7 @@ logger 命令,Linux logger 命令详解:在系统日志中记录相应条目 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 例子
    logger -p syslog.info "backup.sh is starting"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/login.html b/c/login.html index b7e092cdd6..6926f69028 100644 --- a/c/login.html +++ b/c/login.html @@ -10,7 +10,7 @@ login 命令,Linux login 命令详解:登录系统或切换用户身份 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    用户名:指定登录使用的用户名。

    +

    用户名:指定登录使用的用户名。

    + - - + + \ No newline at end of file diff --git a/c/logname.html b/c/logname.html index 014f9e48a9..7304ca55cf 100644 --- a/c/logname.html +++ b/c/logname.html @@ -10,7 +10,7 @@ logname 命令,Linux logname 命令详解:打印当前终端登录用户的名称。 - Linux 命令搜索引擎 - +
    @@ -86,11 +86,12 @@ root
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 lognameinfo coreutils 'logname invocation'

  • - +
    + - - + + \ No newline at end of file diff --git a/c/logout.html b/c/logout.html index ba2052a373..42faf8d425 100644 --- a/c/logout.html +++ b/c/logout.html @@ -10,7 +10,7 @@ logout 命令,Linux logout 命令详解:退出当前登录的Shell - Linux 命令搜索引擎 - +
    @@ -57,11 +57,12 @@ 语法
    logout
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/logrotate.html b/c/logrotate.html index 432b1b82df..bcfc2e26bc 100644 --- a/c/logrotate.html +++ b/c/logrotate.html @@ -10,7 +10,7 @@ logrotate 命令,Linux logrotate 命令详解:系统日志进行轮转、压缩和删除 - Linux 命令搜索引擎 - +
    @@ -132,11 +132,12 @@ size(或minsize) log-size 当日志文件到达指定的大小时才转储 noolddir } -

    这种情况下,会将轮转过的log再重新轮转,因为轮转过后的文件名也是已log开头的

    +

    这种情况下,会将轮转过的log再重新轮转,因为轮转过后的文件名也是已log开头的

    + - - + + \ No newline at end of file diff --git a/c/logsave.html b/c/logsave.html index 46293f3589..50682ac612 100644 --- a/c/logsave.html +++ b/c/logsave.html @@ -10,7 +10,7 @@ logsave 命令,Linux logsave 命令详解:将命令的输出信息保存到指定的日志文件 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/logwatch.html b/c/logwatch.html index 4e176a318b..d479c9b2f8 100644 --- a/c/logwatch.html +++ b/c/logwatch.html @@ -10,7 +10,7 @@ logwatch 命令,Linux logwatch 命令详解:可定制和可插入式的日志监视系统 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@

    如果没有设置logwatch.conf也没关系,可以直接在命令行下设置。

    logwatch --detail High --Service All --range All --print    基本就可以显示出所有日志的情况了
     logwatch --service sshd --detail High                       只看sshd的日志情况
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/look.html b/c/look.html index a0a53c9b15..fb9cf67f69 100644 --- a/c/look.html +++ b/c/look.html @@ -10,7 +10,7 @@ look 命令,Linux look 命令详解:显示文件中以指定字符串开头的任意行 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/losetup.html b/c/losetup.html index bdb7bcaa4e..7234da8b82 100644 --- a/c/losetup.html +++ b/c/losetup.html @@ -10,7 +10,7 @@ losetup 命令,Linux losetup 命令详解:设定与控制循环(loop)设备 - Linux 命令搜索引擎 - +
    @@ -97,11 +97,12 @@ losetup [ -d umount /tmp losetup -d /dev/loop1 - +
    + - - + + \ No newline at end of file diff --git a/c/lp.html b/c/lp.html index 799a38ad6e..7ee7c60429 100644 --- a/c/lp.html +++ b/c/lp.html @@ -10,7 +10,7 @@ lp 命令,Linux lp 命令详解:打印文件或修改排队的打印任务 - Linux 命令搜索引擎 - +
    @@ -102,11 +102,12 @@

    0:没有输出设备可用,或者出现一个错误。

    - +
    + - - + + \ No newline at end of file diff --git a/c/lpadmin.html b/c/lpadmin.html index 6739df3499..b528b21a19 100644 --- a/c/lpadmin.html +++ b/c/lpadmin.html @@ -10,7 +10,7 @@ lpadmin 命令,Linux lpadmin 命令详解:配置CUPS套件中的打印机和类 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    参数

    -

    打印机:指定要配置的打印机的名称。

    +

    打印机:指定要配置的打印机的名称。

    + - - + + \ No newline at end of file diff --git a/c/lpc.html b/c/lpc.html index 7aa87d901f..423cc5866b 100644 --- a/c/lpc.html +++ b/c/lpc.html @@ -10,7 +10,7 @@ lpc 命令,Linux lpc 命令详解:命令行方式打印机控制程序 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ lpc> ? exit help quit status ? lpc> exit - +
    + - - + + \ No newline at end of file diff --git a/c/lpq.html b/c/lpq.html index 59271c7b8a..96e7537047 100644 --- a/c/lpq.html +++ b/c/lpq.html @@ -10,7 +10,7 @@ lpq 命令,Linux lpq 命令详解:显示打印队列中的打印任务的状态信息 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@ -h:指定打印服务器信息; -l:使用长格式输出; +:指定显示状态的间隔时间。 - +
    + - - + + \ No newline at end of file diff --git a/c/lpr.html b/c/lpr.html index eeb17e04f8..7b85ed7c5f 100644 --- a/c/lpr.html +++ b/c/lpr.html @@ -10,7 +10,7 @@ lpr 命令,Linux lpr 命令详解:将文件发送给指定打印机进行打印 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 实例

    将man1和man2送到打印机lp进行打印:

    lpr -P lp man1 man2
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lprm.html b/c/lprm.html index 1572b9d936..38603a9712 100644 --- a/c/lprm.html +++ b/c/lprm.html @@ -10,7 +10,7 @@ lprm 命令,Linux lprm 命令详解:删除打印队列中的打印任务 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    将第101号任务由预设打印机中移除:

    lprm 101
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lpstat.html b/c/lpstat.html index 8324bcebc2..78b0181967 100644 --- a/c/lpstat.html +++ b/c/lpstat.html @@ -10,7 +10,7 @@ lpstat 命令,Linux lpstat 命令详解:显示CUPS中打印机的状态信息 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ -p:显示指定打印机,以及打印机是否接受打印任务; -s:显示汇总信息; -t:显示所有的状态信息。 - +
    + - - + + \ No newline at end of file diff --git a/c/ls.html b/c/ls.html index 3b10cb428f..840862b25a 100644 --- a/c/ls.html +++ b/c/ls.html @@ -10,7 +10,7 @@ ls 命令,Linux ls 命令详解:显示目录内容列表 - Linux 命令搜索引擎 - +
    @@ -427,11 +427,12 @@ auto CHANGES CHANGES.ru conf configure contrib html LICENSE Makefile 红色闪烁:链接文件存在问题
  • 黄色:设备文件
  • 青黄色:管道文件
  • - +
    + + - - + + \ No newline at end of file diff --git a/c/lsb_release.html b/c/lsb_release.html index 060640f57a..8bf85be560 100644 --- a/c/lsb_release.html +++ b/c/lsb_release.html @@ -10,7 +10,7 @@ lsb_release 命令,Linux lsb_release 命令详解:显示发行版本信息 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@

     一般的格式是Distributor release x.x (Codename)  注意:Debian系统中缺乏相应的描述信息(见/etc/debian-version),为了支持Debian系统,大部分信息都被加在了lsb-release文件中。

    redhat和fedora系统中,还支持一个参数:

    -s, --short  输出简短的描述信息。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lsblk.html b/c/lsblk.html index dadd581963..b0ef10115e 100644 --- a/c/lsblk.html +++ b/c/lsblk.html @@ -10,7 +10,7 @@ lsblk 命令,Linux lsblk 命令详解:列出块设备信息 - Linux 命令搜索引擎 - +
    @@ -119,11 +119,12 @@ lsblk --bytes /dev/sda

    lsblk列出SCSI设备,而-s是逆序选项(将设备和分区的组织关系逆转过来显示),其将给出如下输出。输入命令:

    lsblk -s
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lscpu.html b/c/lscpu.html index 88ec4cd8a9..f84f3ac9d3 100644 --- a/c/lscpu.html +++ b/c/lscpu.html @@ -10,7 +10,7 @@ lscpu 命令,Linux lscpu 命令详解:显示有关CPU架构的信息 - Linux 命令搜索引擎 - +
    @@ -113,11 +113,12 @@ L1i cache: 32K L2 cache: 256K L3 cache: 8192K NUMA node0 CPU(s): 0-3 - +
    + + - - + + \ No newline at end of file diff --git a/c/lsusb.html b/c/lsusb.html index 0b7557a6b0..0fa562bd33 100644 --- a/c/lsusb.html +++ b/c/lsusb.html @@ -10,7 +10,7 @@ lsusb 命令,Linux lsusb 命令详解:显示本机的USB设备列表信息 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@ Bus 002 Device 001: ID 0000:0000
    • 一个是usb根Hub -- 001 
    • 一个是usb鼠标  -- 006
    • -
    +
    + - - + + \ No newline at end of file diff --git a/c/ltrace.html b/c/ltrace.html index c798e83921..26ccb25a51 100644 --- a/c/ltrace.html +++ b/c/ltrace.html @@ -10,7 +10,7 @@ ltrace 命令,Linux ltrace 命令详解:用来跟踪进程调用库函数的情况 - Linux 命令搜索引擎 - +
    @@ -119,11 +119,12 @@ SYS_mmap2(0(0, 5544, 5, 2050, 3) = 0x423000 SYS_mmap2(0x424000, 4096, 3, 2066, 3) = 0x424000 .............省去若干行 - +
    + + - - + + \ No newline at end of file diff --git a/c/lvdisplay.html b/c/lvdisplay.html index ec79e8bf7d..9fc0d7a4a5 100644 --- a/c/lvdisplay.html +++ b/c/lvdisplay.html @@ -10,7 +10,7 @@ lvdisplay 命令,Linux lvdisplay 命令详解:显示逻辑卷属性 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@ LV Name /dev/vg1000/lvol0 ......省略部分输出内容...... Block device 253:0 - +
    + - - + + \ No newline at end of file diff --git a/c/lvextend.html b/c/lvextend.html index b73609eb1b..39b4eb8f22 100644 --- a/c/lvextend.html +++ b/c/lvextend.html @@ -10,7 +10,7 @@ lvextend 命令,Linux lvextend 命令详解:扩展逻辑卷空间 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    输出信息如下:

    Extending logical volume lvol0 to 300.00 MB  
     Logical volume lvol0 successfully resized
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lvreduce.html b/c/lvreduce.html index 8128fcbe00..3b0b2de316 100644 --- a/c/lvreduce.html +++ b/c/lvreduce.html @@ -10,7 +10,7 @@ lvreduce 命令,Linux lvreduce 命令详解:收缩逻辑卷空间 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@ Do you really want to reduce lvol0? [y/n]: y #确认操作 Reducing logical volume lvol0 to 252.00 MB Logical volume lvol0 successfully resized - +
    + - - + + \ No newline at end of file diff --git a/c/lvremove.html b/c/lvremove.html index d71674f547..ffe5a17650 100644 --- a/c/lvremove.html +++ b/c/lvremove.html @@ -10,7 +10,7 @@ lvremove 命令,Linux lvremove 命令详解:删除指定LVM逻辑卷 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@
    Do you really want to remove active logical 
     volume "lvol0"? [y/n]: y    #确认删除
       Logical volume "lvol0" successfully removed
    -
    +
    + + - - + + \ No newline at end of file diff --git a/c/lvscan.html b/c/lvscan.html index e6cab784fa..7576c2c745 100644 --- a/c/lvscan.html +++ b/c/lvscan.html @@ -10,7 +10,7 @@ lvscan 命令,Linux lvscan 命令详解:扫描逻辑卷 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    输出信息如下:

    ACTIVE          '/dev/vg1000/lvol0' [200.00 MB] inherit
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/lynx.html b/c/lynx.html index 475a477fe5..4dff98845c 100644 --- a/c/lynx.html +++ b/c/lynx.html @@ -10,7 +10,7 @@ lynx 命令,Linux lynx 命令详解:纯文本模式的网页浏览器 - Linux 命令搜索引擎 - +
    @@ -144,11 +144,12 @@ Ctrl+t:跟踪模式的切换开关。 ;:看Lynx对当前任务的跟踪记录。 Ctrl+k:调用 Cookie Jar 页。 数字键:到后面的第 n 个链接。 - +
    + - - + + \ No newline at end of file diff --git a/c/mail.html b/c/mail.html index 040b145e27..f6aafba567 100644 --- a/c/mail.html +++ b/c/mail.html @@ -10,7 +10,7 @@ mail 命令,Linux mail 命令详解:命令行下发送和接收电子邮件 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ welcome to www.jsdig.com
    uuencode test.txt test | mail -s "hello,see the attachement" admin@jsdig.com<mail.txt
     

    完成后就可以把text.txt文件作为邮件的附件发送出去了。uuencode有两个参数,第一个是要发送的文件,第二个是显示的文件名称。

    -

    这里我主要介绍的是在CentOS下使用mail发送电子邮件的一些使用方法,需要的要求是你的linux必须安装了sendmail并开启了,同时保证可以连接外网。另外,文章中提到的命令本人都经过亲自测试,保证完全可用,不过你需要将命令中的电子邮件地址换成自己的电子邮件地址。

    +

    这里我主要介绍的是在CentOS下使用mail发送电子邮件的一些使用方法,需要的要求是你的linux必须安装了sendmail并开启了,同时保证可以连接外网。另外,文章中提到的命令本人都经过亲自测试,保证完全可用,不过你需要将命令中的电子邮件地址换成自己的电子邮件地址。

    + - - + + \ No newline at end of file diff --git a/c/mailq.html b/c/mailq.html index ec3e545543..08eddcfd5c 100644 --- a/c/mailq.html +++ b/c/mailq.html @@ -10,7 +10,7 @@ mailq 命令,Linux mailq 命令详解:显示待发送的邮件队列 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@
    [root@localhost ~]# mailq -v
     /var/spool/mqueue is empty
                     Total requests: 0
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mailstat.html b/c/mailstat.html index fc8024c8eb..f87aa9d55d 100644 --- a/c/mailstat.html +++ b/c/mailstat.html @@ -10,7 +10,7 @@ mailstat 命令,Linux mailstat 命令详解:显示到达的邮件状态 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    参数

    -

    邮件日志文件:指定要读取邮件日志文件。

    +

    邮件日志文件:指定要读取邮件日志文件。

    + - - + + \ No newline at end of file diff --git a/c/make.html b/c/make.html index 1e244ae4ec..a47c737d56 100644 --- a/c/make.html +++ b/c/make.html @@ -10,7 +10,7 @@ make 命令,Linux make 命令详解:GNU的工程化编译工具 - Linux 命令搜索引擎 - +
    @@ -86,11 +86,12 @@ 知识扩展

    无论是在linux 还是在Unix环境 中,make都是一个非常重要的编译命令。不管是自己进行项目开发还是安装应用软件,我们都经常要用到make或make install。利用make工具,我们可以将大型的开发项目分解成为多个更易于管理的模块,对于一个包括几百个源文件的应用程序,使用make和 makefile工具就可以简洁明快地理顺各个源文件之间纷繁复杂的相互关系。

    而且如此多的源文件,如果每次都要键入gcc命令进行编译的话,那对程序员 来说简直就是一场灾难。而make工具则可自动完成编译工作,并且可以只对程序员在上次编译后修改过的部分进行编译。

    -

    因此,有效的利用make和 makefile工具可以大大提高项目开发的效率。同时掌握make和makefile之后,您也不会再面对着Linux下的应用软件手足无措了。

    +

    因此,有效的利用make和 makefile工具可以大大提高项目开发的效率。同时掌握make和makefile之后,您也不会再面对着Linux下的应用软件手足无措了。

    + - - + + \ No newline at end of file diff --git a/c/man.html b/c/man.html index 8625b5cc37..837490a0e5 100644 --- a/c/man.html +++ b/c/man.html @@ -10,7 +10,7 @@ man 命令,Linux man 命令详解:查看Linux中的指令帮助 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@

    只会显示sleep命令的手册,如果想查看库函数sleep,就要输入:

    man 3 sleep
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mapfile.html b/c/mapfile.html index e10f8f8ddb..b50f2e7ea6 100644 --- a/c/mapfile.html +++ b/c/mapfile.html @@ -10,7 +10,7 @@ mapfile 命令,Linux mapfile 命令详解:从标准输入读取行并赋值到数组。 - Linux 命令搜索引擎 - +
    @@ -107,6 +107,7 @@ mapfile < source_file -d
    + - - + + \t' target_array mapfile < source_file -d ' ' target_array @@ -137,6 +138,7 @@ var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); h mapfile < source_file -d + - - + + \t' -t target_array # 读取时移除行分隔符(换行符)。 @@ -178,11 +180,12 @@ var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); h
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. bash内建命令readarray是mapfile的同义词。
    3. -
    + + - - + + \ No newline at end of file diff --git a/c/md5sum.html b/c/md5sum.html index 89476be832..ce0d6ea8e1 100644 --- a/c/md5sum.html +++ b/c/md5sum.html @@ -10,7 +10,7 @@ md5sum 命令,Linux md5sum 命令详解:计算和校验文件报文摘要的工具程序 - Linux 命令搜索引擎 - +
    @@ -108,11 +108,12 @@ md5sum: WARNING: 1 of md5sum: testfile.md5: 1: improperly formatted MD5 checksum line md5sum: testfile.md5: no properly formatted MD5 checksum lines found -

    这里,testfile.md5只有一行信息,但是我认为地给它多加了一个字符,导致非法。如果md5文件正常那么-w有没有都一样。

    +

    这里,testfile.md5只有一行信息,但是我认为地给它多加了一个字符,导致非法。如果md5文件正常那么-w有没有都一样。

    + - - + + \ No newline at end of file diff --git a/c/mesg.html b/c/mesg.html index 67bf0fbe0a..6cd8cb0b12 100644 --- a/c/mesg.html +++ b/c/mesg.html @@ -10,7 +10,7 @@ mesg 命令,Linux mesg 命令详解:设置当前终端的写权限 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ 实例
    [root@localhost ~]# mesg y    #允许系统用户将信息直接显示在你的屏幕上。
     [root@localhost ~]# mesg n    #不允许系统用户将信息直接显示在你的屏幕上。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mii-tool.html b/c/mii-tool.html index 2d517cf78c..6fde17e8bb 100644 --- a/c/mii-tool.html +++ b/c/mii-tool.html @@ -10,7 +10,7 @@ mii-tool 命令,Linux mii-tool 命令详解:配置网络设备协商方式的工具 - Linux 命令搜索引擎 - +
    @@ -101,11 +101,12 @@ eth0: 100 Mbit, full duplex, [root@localhost ~]# ethtool -s eth0 speed 100 duplex full - +
    + + - - + + \ No newline at end of file diff --git a/c/mkdir.html b/c/mkdir.html index 1cd4f51015..ef16f9cdc8 100644 --- a/c/mkdir.html +++ b/c/mkdir.html @@ -10,7 +10,7 @@ mkdir 命令,Linux mkdir 命令详解:用来创建目录 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    在当前目录中建立bin和bin下的os_1目录,权限设置为文件主可读、写、执行,同组用户可读和执行,其他用户无权访问

    mkdir -p-m 750 bin/os_1
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mke2fs.html b/c/mke2fs.html index 256d87d233..a74efca0e4 100644 --- a/c/mke2fs.html +++ b/c/mke2fs.html @@ -10,7 +10,7 @@ mke2fs 命令,Linux mke2fs 命令详解:创建磁盘分区上的“etc2/etc3”文件系统 - Linux 命令搜索引擎 - +
    @@ -90,11 +90,12 @@ 实例

    创建指定的ext2文件系统。

    mke2fs -q /dev/hda1
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mkfs.html b/c/mkfs.html index 9a4d64e77f..96eb1fbf0f 100644 --- a/c/mkfs.html +++ b/c/mkfs.html @@ -10,7 +10,7 @@ mkfs 命令,Linux mkfs 命令详解:用于在设备上创建Linux文件系统 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@ mkfs -t ext3 /dev/sda6 //将sda6分区格式化为ext3格式 mkfs -t ext2 /dev/sda7 //将sda7分区格式化为ext2格式 - +
    + - - + + \ No newline at end of file diff --git a/c/mkinitrd.html b/c/mkinitrd.html index cb23fc571d..505353c477 100644 --- a/c/mkinitrd.html +++ b/c/mkinitrd.html @@ -10,7 +10,7 @@ mkinitrd 命令,Linux mkinitrd 命令详解:建立要载入ramdisk的映像文件 - Linux 命令搜索引擎 - +
    @@ -102,11 +102,12 @@ myinitrd.img: gzip compressed data, from Uni [root@localhost tmp]# gzip -d myinitrd.img.gz [root@localhost tmp]# file myinitrd.img myinitrd.img: ASCII cpio archive (SVR4 with no CRC) - +
    + - - + + \ No newline at end of file diff --git a/c/mkisofs.html b/c/mkisofs.html index d5813cdc63..ebc9a24187 100644 --- a/c/mkisofs.html +++ b/c/mkisofs.html @@ -10,7 +10,7 @@ mkisofs 命令,Linux mkisofs 命令详解:建立ISO 9660映像文件 - Linux 命令搜索引擎 - +
    @@ -122,11 +122,12 @@

    把指定目录下的所有文件制作成ISO文件:

    mkisofs -R -J -T -v -no-emul-boot -boot-load-size 4 -boot-info-table -V RHEL4ASDVD -b isolinux/isolinux.bin -c isolinux/boot.cat -o /RHEL4AS.iso rhel4.0/
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mknod.html b/c/mknod.html index a5c94f5b68..0db062c0e4 100644 --- a/c/mknod.html +++ b/c/mknod.html @@ -10,7 +10,7 @@ mknod 命令,Linux mknod 命令详解:创建字符设备文件和块设备文件 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@ crw-rw—- 1 root dialout 添加命令 | 命令列表 | @@ -113,7 +114,7 @@ crw-rw—- 1 root dialout - - + + \ No newline at end of file diff --git a/c/mkswap.html b/c/mkswap.html index cad31bb2ff..e2a77d1d23 100644 --- a/c/mkswap.html +++ b/c/mkswap.html @@ -10,7 +10,7 @@ mkswap 命令,Linux mkswap 命令详解:建立和设置SWAP交换分区 - Linux 命令搜索引擎 - +
    @@ -117,11 +117,12 @@ Swap: 572 0

    禁用交换分区:

    swapoff /dev/sdb2
     
    -

    /etc/fstab中删除项目,使用fdisk或yast工具删除分区。

    +

    /etc/fstab中删除项目,使用fdisk或yast工具删除分区。

    + - - + + \ No newline at end of file diff --git a/c/mktemp.html b/c/mktemp.html index 7414c89fe7..ce65c12a2b 100644 --- a/c/mktemp.html +++ b/c/mktemp.html @@ -10,7 +10,7 @@ mktemp 命令,Linux mktemp 命令详解:创建临时文件供shell脚本使用 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@

    参数

    -

    文件:指定创建的临时文件。

    +

    文件:指定创建的临时文件。

    + - - + + \ No newline at end of file diff --git a/c/modprobe.html b/c/modprobe.html index e5f4c0255a..9afe2edfb8 100644 --- a/c/modprobe.html +++ b/c/modprobe.html @@ -10,7 +10,7 @@ modprobe 命令,Linux modprobe 命令详解:自动处理可载入模块 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@

    移除已经加载的模块:

    modprobe -r 模块名
     
    -

    这里,移除已加载的模块,和rmmod功能相同。

    +

    这里,移除已加载的模块,和rmmod功能相同。

    + - - + + \ No newline at end of file diff --git a/c/more.html b/c/more.html index 5b32138db3..1ab061c1d0 100644 --- a/c/more.html +++ b/c/more.html @@ -10,7 +10,7 @@ more 命令,Linux more 命令详解:显示文件内容,每次显示一屏 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@

    显示文件file的内容,每10行显示一次,而且在显示之前先清屏。

    more -c -10 file
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mount.html b/c/mount.html index 31ba60f6d8..3b11121de1 100644 --- a/c/mount.html +++ b/c/mount.html @@ -10,7 +10,7 @@ mount 命令,Linux mount 命令详解:用于挂载Linux系统外的文件 - Linux 命令搜索引擎 - +
    @@ -101,11 +101,12 @@

    /tmp/image.iso 这个光碟的 image 档使用 loop 模式挂在 /mnt/cdrom 之下。用这种方法可以将一般网络上可以找到的 Linux 光 碟 ISO 档在不烧录成光碟的情况下检视其内容。

    #mount -o loop /tmp/image.iso /mnt/cdrom
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mpstat.html b/c/mpstat.html index 2dc5856b7a..563cc33877 100644 --- a/c/mpstat.html +++ b/c/mpstat.html @@ -10,7 +10,7 @@ mpstat 命令,Linux mpstat 命令详解:显示各个可用CPU的状态 - Linux 命令搜索引擎 - +
    @@ -118,11 +118,12 @@ Linux 2.6.18-164.el5 10:18:28 PM all 11.44 0.00 21.06 0.33 1.99 10.61 0.00 54.56 2369.87 Average: all 9.27 0.00 16.18 0.30 1.50 7.64 0.00 65.11 2173.54 -

    上两表显示出当要正确反映系统的情况,需要正确使用命令的参数。vmstat 和iostat 也需要注意这一问题。

    +

    上两表显示出当要正确反映系统的情况,需要正确使用命令的参数。vmstat 和iostat 也需要注意这一问题。

    + + - - + + \ No newline at end of file diff --git a/c/mv.html b/c/mv.html index 57392bedca..40129cefc0 100644 --- a/c/mv.html +++ b/c/mv.html @@ -10,7 +10,7 @@ mv 命令,Linux mv 命令详解:用来对文件或目录重新命名 - Linux 命令搜索引擎 - +
    @@ -122,11 +122,12 @@

    无条件覆盖已经存在的文件

    mv -f *.txt /home/office
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/mysql.html b/c/mysql.html index 04943f1bc1..d8062590c6 100644 --- a/c/mysql.html +++ b/c/mysql.html @@ -10,7 +10,7 @@ mysql 命令,Linux mysql 命令详解:MySQL服务器客户端工具 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    数据库:指定连接服务器后自动打开的数据库。

    +

    数据库:指定连接服务器后自动打开的数据库。

    + - - + + \ No newline at end of file diff --git a/c/mysqladmin.html b/c/mysqladmin.html index 7bfd4f2e5b..122431998c 100644 --- a/c/mysqladmin.html +++ b/c/mysqladmin.html @@ -10,7 +10,7 @@ mysqladmin 命令,Linux mysqladmin 命令详解:MySQL服务器管理客户端 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@ shutdown:关掉服务器; status:给出服务器的简短状态消息; variables:打印出可用变量; version:得到服务器的版本信息。 - +
    + - - + + \ No newline at end of file diff --git a/c/mysqldump.html b/c/mysqldump.html index e43147a4b1..a28215c17f 100644 --- a/c/mysqldump.html +++ b/c/mysqldump.html @@ -10,7 +10,7 @@ mysqldump 命令,Linux mysqldump 命令详解:MySQL数据库中备份工具 - Linux 命令搜索引擎 - +
    @@ -92,11 +92,12 @@ mysqldump -u linuxde -p smgp_apps_linuxde users导出一个数据库结构

    mysqldump -u linuxde -p -d --add-drop-table smgp_apps_linuxde > linuxde_db.sql
     
    -

    -d没有数据,--add-drop-table每个create语句之前增加一个drop table

    +

    -d没有数据,--add-drop-table每个create语句之前增加一个drop table

    + + - - + + \ No newline at end of file diff --git a/c/mysqlshow.html b/c/mysqlshow.html index 2e73f0e0de..69e16cfe25 100644 --- a/c/mysqlshow.html +++ b/c/mysqlshow.html @@ -10,7 +10,7 @@ mysqlshow 命令,Linux mysqlshow 命令详解:显示MySQL中数据库相关信息 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@

    参数

    -

    数据库信息:指定要显示的数据库信息,可以是一个数据库名,或者是数据库名和表名,或者是数据库名、表名和列名。

    +

    数据库信息:指定要显示的数据库信息,可以是一个数据库名,或者是数据库名和表名,或者是数据库名、表名和列名。

    + - - + + \ No newline at end of file diff --git a/c/named-checkzone.html b/c/named-checkzone.html index 39ffb4e64f..5bc5c44d43 100644 --- a/c/named-checkzone.html +++ b/c/named-checkzone.html @@ -10,7 +10,7 @@ named-checkzone 命令,Linux named-checkzone 命令详解:使用named-checkzone命令可以进行区域文件有效性检查和转换,必须指定区域名称和区域文件名称 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@ OK zonesh.com/IN: sh.com/MX 'mail.sh.com' is a CNAME (illegal) zonesh.com/IN: loaded serial 1268360234 OK - +
    + - - + + \ No newline at end of file diff --git a/c/nano.html b/c/nano.html index 9ca92336ec..7a13b096b6 100644 --- a/c/nano.html +++ b/c/nano.html @@ -10,7 +10,7 @@ nano 命令,Linux nano 命令详解:字符终端文本编辑器 - Linux 命令搜索引擎 - +
    @@ -131,11 +131,12 @@

    使用Ctrl+O来保存所做的修改

    退出

    按Ctrl+X

    -

    如果你修改了文件,下面会询问你是否需要保存修改。输入Y确认保存,输入N不保存,按Ctrl+C取消返回。如果输入了Y,下一步会让你输入想要保存的文件名。如果不需要修改文件名直接回车就行;若想要保存成别的名字(也就是另存为)则输入新名称然后确 定。这个时候也可用Ctrl+C来取消返回。

    +

    如果你修改了文件,下面会询问你是否需要保存修改。输入Y确认保存,输入N不保存,按Ctrl+C取消返回。如果输入了Y,下一步会让你输入想要保存的文件名。如果不需要修改文件名直接回车就行;若想要保存成别的名字(也就是另存为)则输入新名称然后确 定。这个时候也可用Ctrl+C来取消返回。

    + - - + + \ No newline at end of file diff --git a/c/nc.html b/c/nc.html index d5ba67d5cf..27a2b76c0d 100644 --- a/c/nc.html +++ b/c/nc.html @@ -10,7 +10,7 @@ nc 命令,Linux nc 命令详解:用于设置路由器,是网络工具中的瑞士军刀。 - Linux 命令搜索引擎 - +
    @@ -103,11 +103,12 @@ y //用户输入 # Ncat: Version 7.50 ( https://nmap.org/ncat ) # Ncat: Connected to 23.77.214.183:443. # Ncat: 0 bytes sent, 0 bytes received in 0.07 seconds. - +
    + - - + + \ No newline at end of file diff --git a/c/ncftp.html b/c/ncftp.html index 42c4142ea1..74840486b4 100644 --- a/c/ncftp.html +++ b/c/ncftp.html @@ -10,7 +10,7 @@ ncftp 命令,Linux ncftp 命令详解:是增强的的FTP工具 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@
  • lpage: 显示本地文件内容;
  • lrm: 删除本地文件;
  • lrmdir: 删除本地目录。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/nethogs.html b/c/nethogs.html index 453e3fcbbd..9fafbf7432 100644 --- a/c/nethogs.html +++ b/c/nethogs.html @@ -10,7 +10,7 @@ nethogs 命令,Linux nethogs 命令详解:终端下的网络流量监控工具 - Linux 命令搜索引擎 - +
    @@ -143,11 +143,12 @@
    $ sudo nethogs eth0 eth1
     
     
    -

    关于NetHogs命令行工具的完整参数列表,可以参考NetHogs的手册,使用方法是在终端里输入man nethogs或者sudo man nethogs,更多信息请参考NetHogs项目主页。

    +

    关于NetHogs命令行工具的完整参数列表,可以参考NetHogs的手册,使用方法是在终端里输入man nethogs或者sudo man nethogs,更多信息请参考NetHogs项目主页。

    + - - + + \ No newline at end of file diff --git a/c/netstat.html b/c/netstat.html index f023609662..427eaefb37 100644 --- a/c/netstat.html +++ b/c/netstat.html @@ -10,7 +10,7 @@ netstat 命令,Linux netstat 命令详解:查看Linux中网络系统状态信息 - Linux 命令搜索引擎 - +
    @@ -218,11 +218,12 @@ netstat: no support for `AF NETROM' on this s
  • FIN: (结束标志,FINish)用来结束一个TCP回话.但对应端口仍处于开放状态,准备接收后续数据。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/newusers.html b/c/newusers.html index e880a35d65..bba0bd0400 100644 --- a/c/newusers.html +++ b/c/newusers.html @@ -10,7 +10,7 @@ newusers 命令,Linux newusers 命令详解:用于批处理的方式一次创建多个命令 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@ jingang1:x:521:521::/home/jingang1:/sbin/nologin /bin/zsh

    其中除了/sbin/nologin,其它类型的SHELL都能登录系统,nologin大多是虚拟用户用的SHELL,也就是说虽然他是系统用户,但他并无登录系统的权限;如果您想添加这类用户,就把他的SHELL设置成/sbin/nologin,比如上面的例子。

    -

    关于用户名、UID、GID及用户的家目录是怎么回事,您可以读相应的参考文档。

    +

    关于用户名、UID、GID及用户的家目录是怎么回事,您可以读相应的参考文档。

    + - - + + \ No newline at end of file diff --git a/c/nfsstat.html b/c/nfsstat.html index 7c5381f9e2..d00c9aaf8e 100644 --- a/c/nfsstat.html +++ b/c/nfsstat.html @@ -10,7 +10,7 @@ nfsstat 命令,Linux nfsstat 命令详解:列出NFS客户端和服务器的工作状态 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@

    要显示关于服务器接收和拒绝的RPC和NFS调用数目的信息,输入如下命令:

    nfsstat –s
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ngrep.html b/c/ngrep.html index f05cff60d7..bfa24078d1 100644 --- a/c/ngrep.html +++ b/c/ngrep.html @@ -10,7 +10,7 @@ ngrep 命令,Linux ngrep 命令详解:方便的数据包匹配和显示工具 - Linux 命令搜索引擎 - +
    @@ -152,11 +152,12 @@ rT3vFo7ac; ; NID=7=AvJxn5B6YOLLxoYz4LLzhIbNsQUQiulRS6U JGxdBniQBmXm99y7L-NBNORN82N3unmZSGHFPfePVHnLK2MjYjglyXZhU9x7ETXNBnY3NurNijHDhJ7K yi7E53UBOcv4V. - +
    + - - + + \ No newline at end of file diff --git a/c/nice.html b/c/nice.html index d7dcc1f87a..16b8521015 100644 --- a/c/nice.html +++ b/c/nice.html @@ -10,7 +10,7 @@ nice 命令,Linux nice 命令详解:改变程序执行的优先权等级 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@

    方法非常简单,即在原命令前加上nice -19。很多人可能有疑问了,最低优先级不是19么?那是因为这个“-19”中的“-”仅表示参数前缀;所以,如果希望将当前目录下的documents目录打包,并且赋予tar进程最高的优先级:

    nice --19 tar zcf pack.tar.gz documents
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/nisdomainname.html b/c/nisdomainname.html index ed42179365..80771b9669 100644 --- a/c/nisdomainname.html +++ b/c/nisdomainname.html @@ -10,7 +10,7 @@ nisdomainname 命令,Linux nisdomainname 命令详解:显示主机NIS的域名 - Linux 命令搜索引擎 - +
    @@ -62,11 +62,12 @@ 选项
    -v:详细信息模式。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/nl.html b/c/nl.html index b0df129e50..96b2752aaa 100644 --- a/c/nl.html +++ b/c/nl.html @@ -10,7 +10,7 @@ nl 命令,Linux nl 命令详解:为每一个文件添加行号。 - Linux 命令搜索引擎 - +
    @@ -181,6 +181,7 @@ ZhuangZhu-74 [user2@pc ~]$ nl -b p'1
    + - - + + nl_normal.txt ZhuangZhu-74 @@ -219,11 +220,12 @@ var _hmt = _hmt || []; (function() {var hm = document.createElement("script"); h 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 nlinfo coreutils 'nl invocation'
    2. -
    + + - - + + \ No newline at end of file diff --git a/c/nm.html b/c/nm.html index 360b588aa4..389a244078 100644 --- a/c/nm.html +++ b/c/nm.html @@ -10,7 +10,7 @@ nm 命令,Linux nm 命令详解:显示二进制目标文件的符号表 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    目标文件:二进制目标文件,通常是库文件和可执行文件。

    +

    目标文件:二进制目标文件,通常是库文件和可执行文件。

    + - - + + \ No newline at end of file diff --git a/c/nmap.html b/c/nmap.html index e386f8d4e0..0adcfb4379 100644 --- a/c/nmap.html +++ b/c/nmap.html @@ -10,7 +10,7 @@ nmap 命令,Linux nmap 命令详解:网络探测和安全审核 - Linux 命令搜索引擎 - +
    @@ -107,11 +107,12 @@ PORT STATE service 80/tcp open http Nmap finished: 1 IP address (1 host up) scanned in 45.870 seconds - +
    + + + - - + + \ No newline at end of file diff --git a/c/nologin.html b/c/nologin.html index d86918a1c5..41b79c8300 100644 --- a/c/nologin.html +++ b/c/nologin.html @@ -10,7 +10,7 @@ nologin 命令,Linux nologin 命令详解:拒绝用户登录系统 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    3、禁止所有用户登录。

    touch /etc/nologin
     
    -

    除root以外的用户不能登录了。

    +

    除root以外的用户不能登录了。

    + - - + + \ No newline at end of file diff --git a/c/nproc.html b/c/nproc.html index a57c3dd7bc..5bf8f8c23d 100644 --- a/c/nproc.html +++ b/c/nproc.html @@ -10,7 +10,7 @@ nproc 命令,Linux nproc 命令详解:打印可用的处理器单元数量。 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@ 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 nprocinfo coreutils 'nproc invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/nslookup.html b/c/nslookup.html index c0a243b71a..c6c1780486 100644 --- a/c/nslookup.html +++ b/c/nslookup.html @@ -10,7 +10,7 @@ nslookup 命令,Linux nslookup 命令详解:查询域名DNS信息的工具 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ Non-authoritative answer: www.jsdig.com canonical name = host.1.jsdig.com. Name: host.1.jsdig.com Address: 100.42.212.8 - +
    + - - + + \ No newline at end of file diff --git a/c/ntpdate.html b/c/ntpdate.html index 5143923b79..b6c06fcd1c 100644 --- a/c/ntpdate.html +++ b/c/ntpdate.html @@ -10,7 +10,7 @@ ntpdate 命令,Linux ntpdate 命令详解:使用网络计时协议(NTP)设置日期和时间 - Linux 命令搜索引擎 - +
    @@ -112,11 +112,12 @@ 指定使用无特权的端口发送数据包。 当在一个对特权端口的输入流量进行阻拦的防火墙后是很有益的, 并希望在防火墙之外和主机同步。防火墙是一个系统或者计算机,它控制从外网对专用网的访问。 - +
    + - - + + \ No newline at end of file diff --git a/c/ntsysv.html b/c/ntsysv.html index ce981d4ed2..fe26e31367 100644 --- a/c/ntsysv.html +++ b/c/ntsysv.html @@ -10,7 +10,7 @@ ntsysv 命令,Linux ntsysv 命令详解:集中管理系统的各种服务 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    输入ntsysv命令后,出现一个交互式的管理菜单,如下:

    !ntsysv
     
    -

    使用空格键选择或者取消选项!

    +

    使用空格键选择或者取消选项!

    + - - + + \ No newline at end of file diff --git a/c/objdump.html b/c/objdump.html index aad4ae2485..0ea3d23400 100644 --- a/c/objdump.html +++ b/c/objdump.html @@ -10,7 +10,7 @@ objdump 命令,Linux objdump 命令详解:显示二进制文件信息 - Linux 命令搜索引擎 - +
    @@ -472,11 +472,12 @@ Idx Name Size VMA LMA File off Algn 11 .note.GNU-stack 00000000 00000000 00000000 000002e1 2**0 CONTENTS, READONLY -

    这里,更多的内容参见man objdump中的这个选项。

    +

    这里,更多的内容参见man objdump中的这个选项。

    + - - + + \ No newline at end of file diff --git a/c/od.html b/c/od.html index 9251f22993..03802b0ddc 100644 --- a/c/od.html +++ b/c/od.html @@ -10,7 +10,7 @@ od 命令,Linux od 命令详解:输出文件的八进制、十六进制等格式编码的字节 - Linux 命令搜索引擎 - +
    @@ -157,11 +157,12 @@ abcdef g 0000006 040 147 012 0000011 -

    说明:每行输出3个字节,并使用八进制单字节进行解释

    +

    说明:每行输出3个字节,并使用八进制单字节进行解释

    + - - + + \ No newline at end of file diff --git a/c/openssl.html b/c/openssl.html index 0f03cb333b..b68ebc819e 100644 --- a/c/openssl.html +++ b/c/openssl.html @@ -10,7 +10,7 @@ openssl 命令,Linux openssl 命令详解:强大的安全套接字层密码库 - Linux 命令搜索引擎 - +
    @@ -167,11 +167,12 @@ openssl help openssl genrsa -aes128 -out fd.key 2048 # pem format openssl rsa -text -in fd.key - +
    + - - + + \ No newline at end of file diff --git a/c/parted.html b/c/parted.html index 8b0561de88..4fba591453 100644 --- a/c/parted.html +++ b/c/parted.html @@ -10,7 +10,7 @@ parted 命令,Linux parted 命令详解:磁盘分区和分区大小调整工具 - Linux 命令搜索引擎 - +
    @@ -166,11 +166,12 @@ Filesystem 容量 已用 可用 已用% 挂载点 /dev/sda1 99M 12M 82M 13% /boot none 252M 0 252M 0% /dev/shm /dev/sdb1 2.0G 36M 1.9G 2% /mnt - +
    + + + - - + + \ No newline at end of file diff --git a/c/paste.html b/c/paste.html index 5a0d94c7e1..e258e215dc 100644 --- a/c/paste.html +++ b/c/paste.html @@ -10,7 +10,7 @@ paste 命令,Linux paste 命令详解:将多个文件按列队列合并 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件列表:指定需要合并的文件列表。

    +

    文件列表:指定需要合并的文件列表。

    + - - + + \ No newline at end of file diff --git a/c/patch.html b/c/patch.html index 168a6c1b59..a664b717a3 100644 --- a/c/patch.html +++ b/c/patch.html @@ -10,7 +10,7 @@ patch 命令,Linux patch 命令详解:为开放源代码软件安装补丁程序 - Linux 命令搜索引擎 - +
    @@ -100,11 +100,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/pathchk.html b/c/pathchk.html index a972765351..f5896f0446 100644 --- a/c/pathchk.html +++ b/c/pathchk.html @@ -10,7 +10,7 @@ pathchk 命令,Linux pathchk 命令详解:检查文件中不可移植的部分 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/perl.html b/c/perl.html index d73a5544b3..483b90bac2 100644 --- a/c/perl.html +++ b/c/perl.html @@ -10,7 +10,7 @@ perl 命令,Linux perl 命令详解:perl语言解释器 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    文件:要运行的perl脚本程序。

    +

    文件:要运行的perl脚本程序。

    + - - + + \ No newline at end of file diff --git a/c/pfctl.html b/c/pfctl.html index 9dce9fe2a0..de05a5ac06 100644 --- a/c/pfctl.html +++ b/c/pfctl.html @@ -10,7 +10,7 @@ pfctl 命令,Linux pfctl 命令详解:PF防火墙的配置命令 - Linux 命令搜索引擎 - +
    @@ -96,11 +96,12 @@ pfctl -ss # 显示当前的状态表 pfctl -si # 显示过滤状态和计数 pfctl -sa # 显示任何可显示的 -

    完整的命令列表,请参阅pfctl的man手册页。

    +

    完整的命令列表,请参阅pfctl的man手册页。

    + - - + + \ No newline at end of file diff --git a/c/pgrep.html b/c/pgrep.html index cdc197b395..27671ee55b 100644 --- a/c/pgrep.html +++ b/c/pgrep.html @@ -10,7 +10,7 @@ pgrep 命令,Linux pgrep 命令详解:根据用户给出的信息在当前运行进程中查找并列出符合条件的进程ID(PID) - Linux 命令搜索引擎 - +
    @@ -99,11 +99,12 @@ 4564 4565 4566 - +
    + - - + + \ No newline at end of file diff --git a/c/php.html b/c/php.html index b2812150de..3a44baf557 100644 --- a/c/php.html +++ b/c/php.html @@ -10,7 +10,7 @@ php 命令,Linux php 命令详解:PHP语言的命令行接口 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:要执行的php脚本。

    +

    文件:要执行的php脚本。

    + - - + + \ No newline at end of file diff --git a/c/pico.html b/c/pico.html index fce360c3b1..49fe60b0bf 100644 --- a/c/pico.html +++ b/c/pico.html @@ -10,7 +10,7 @@ pico 命令,Linux pico 命令详解:功能强大全屏幕的文本编辑器 - Linux 命令搜索引擎 - +
    @@ -98,11 +98,12 @@ Ctrl+X:退出,当文件内容发生改变时,提供是否保存修改。

    参数

    -

    文件:指定要编辑的文件。

    +

    文件:指定要编辑的文件。

    + - - + + \ No newline at end of file diff --git a/c/pidof.html b/c/pidof.html index db677e53a2..f10eb5d972 100644 --- a/c/pidof.html +++ b/c/pidof.html @@ -10,7 +10,7 @@ pidof 命令,Linux pidof 命令详解:查找指定名称的进程的进程号ID号 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ pidof crond pidof init 1 - +
    + - - + + \ No newline at end of file diff --git a/c/pigz.html b/c/pigz.html index beb9829f1e..3f246eb747 100644 --- a/c/pigz.html +++ b/c/pigz.html @@ -10,7 +10,7 @@ pigz 命令,Linux pigz 命令详解:可以用来解压缩文件,gzip的并行实现升级版 - Linux 命令搜索引擎 - +
    @@ -110,6 +110,7 @@ unpigz [ -cfhikKlLmMnNqrRtz 添加命令 | 命令列表 | @@ -130,7 +131,7 @@ unpigz [ -cfhikKlLmMnNqrRtz - - + + \ No newline at end of file diff --git a/c/ping.html b/c/ping.html index 092eaf285c..86f0b259c2 100644 --- a/c/ping.html +++ b/c/ping.html @@ -10,7 +10,7 @@ ping 命令,Linux ping 命令详解:测试主机之间网络的连通性 - Linux 命令搜索引擎 - +
    @@ -94,11 +94,12 @@ PING host.1.jsdig.com (ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 2998ms rtt min/avg/max/mdev = 174.068/176.916/178.182/1.683 ms - +
    + + - - + + \ No newline at end of file diff --git a/c/pmap.html b/c/pmap.html index a2b49d4321..f93b19bae6 100644 --- a/c/pmap.html +++ b/c/pmap.html @@ -10,7 +10,7 @@ pmap 命令,Linux pmap 命令详解:报告进程的内存映射关系 - Linux 命令搜索引擎 - +
    @@ -162,11 +162,12 @@ Address Kbytes RSS Dirty Mode Mapping ffffffffff600000 8192 0 0 ----- [ anon ] ---------------- ------ ------ ------ total kB 72880 22940 22000 - +
    + + - - + + \ No newline at end of file diff --git a/c/poweroff.html b/c/poweroff.html index 895aba4fdc..e8a886eceb 100644 --- a/c/poweroff.html +++ b/c/poweroff.html @@ -10,7 +10,7 @@ poweroff 命令,Linux poweroff 命令详解:关闭Linux系统,关闭记录会被写入到/var/log/wtmp日志文件中 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@ 例子

    关闭Linux系统。

    [root@localhost ~]# poweroff
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ppp-off.html b/c/ppp-off.html index d5073f47b7..060f4cb60c 100644 --- a/c/ppp-off.html +++ b/c/ppp-off.html @@ -10,7 +10,7 @@ ppp-off 命令,Linux ppp-off 命令详解:关闭ppp连线 - Linux 命令搜索引擎 - +
    @@ -57,11 +57,12 @@ 语法
    ppp-off
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/pr.html b/c/pr.html index 729b855905..5bcc106af4 100644 --- a/c/pr.html +++ b/c/pr.html @@ -10,7 +10,7 @@ pr 命令,Linux pr 命令详解:将文本文件转换成适合打印的格式 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:需要转换格式的文件。

    +

    文件:需要转换格式的文件。

    + - - + + \ No newline at end of file diff --git a/c/printf.html b/c/printf.html index a8def5c7f0..1181c0b0f2 100644 --- a/c/printf.html +++ b/c/printf.html @@ -10,7 +10,7 @@ printf 命令,Linux printf 命令详解:格式化并输出结果。 - Linux 命令搜索引擎 - +
    @@ -239,11 +239,12 @@ value1 - +
    + - - + + \ No newline at end of file diff --git a/c/protoize.html b/c/protoize.html index 020a7ff14c..68414ab8a4 100644 --- a/c/protoize.html +++ b/c/protoize.html @@ -10,7 +10,7 @@ protoize 命令,Linux protoize 命令详解:GNU-C代码转换为ANSI-C代码 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:需要转换代码的C语言源文件。

    +

    文件:需要转换代码的C语言源文件。

    + - - + + \ No newline at end of file diff --git a/c/ps.html b/c/ps.html index 64281e1e96..befa81dcae 100644 --- a/c/ps.html +++ b/c/ps.html @@ -10,7 +10,7 @@ ps 命令,Linux ps 命令详解:报告当前系统的进程状态 - Linux 命令搜索引擎 - +
    @@ -215,11 +215,12 @@ X:采用旧式的Linux i386登陆格式显示程序状况。

    把所有进程显示出来,并输出到ps001.txt文件

    ps -aux > ps001.txt
     
    -

    输出指定的字段

    +

    输出指定的字段

    + - - + + \ No newline at end of file diff --git a/c/pssh.html b/c/pssh.html index 2d68373ae0..aab9a94e8f 100644 --- a/c/pssh.html +++ b/c/pssh.html @@ -10,7 +10,7 @@ pssh 命令,Linux pssh 命令详解:批量管理执行 - Linux 命令搜索引擎 - +
    @@ -128,11 +128,12 @@ python setup.py install 11:19:56 up 3 days, 23:30, 0 users, load average: 0.01, 0.00, 0.00 11:19:56 up 4 days, 16:30, 1 user, load average: 0.00, 0.00, 0.00 -

    上面介绍的是pssh命令很少的一部分,大家可以将其用到适合自己的场景,发挥它的最大功效。

    +

    上面介绍的是pssh命令很少的一部分,大家可以将其用到适合自己的场景,发挥它的最大功效。

    + - - + + \ No newline at end of file diff --git a/c/pstack.html b/c/pstack.html index 08cf26cb3f..6a7fb3c177 100644 --- a/c/pstack.html +++ b/c/pstack.html @@ -10,7 +10,7 @@ pstack 命令,Linux pstack 命令详解:显示每个进程的栈跟踪 - Linux 命令搜索引擎 - +
    @@ -135,11 +135,12 @@ Thread 1 (#1 0x000000302af8f010 in sleep () from /lib64/tls/libc.so.6 #2 0x0000000000420d79 in Ad_preprocess::run () #3 0x0000000000450ad0 in main () - +
    + + - - + + \ No newline at end of file diff --git a/c/pushd.html b/c/pushd.html index 9c6cb19f27..b8829ca741 100644 --- a/c/pushd.html +++ b/c/pushd.html @@ -10,7 +10,7 @@ pushd 命令,Linux pushd 命令详解:将目录添加到目录堆栈顶部。 - Linux 命令搜索引擎 - +
    @@ -122,11 +122,12 @@ 参考链接 +
    + - - + + \ No newline at end of file diff --git a/c/pv.html b/c/pv.html index c4062c7d42..785e44a37c 100644 --- a/c/pv.html +++ b/c/pv.html @@ -10,7 +10,7 @@ pv 命令,Linux pv 命令详解:显示当前在命令行执行的命令的进度信息,管道查看器 - Linux 命令搜索引擎 - +
    @@ -145,11 +145,12 @@ source: 5.2GiB 5
  • 选项"-d, --watchfd PID[:FD]", 是在1.6.6版本中才有的参数,如果使用需要pv升级到大于等于1.6.6的版本
  • CentOS7的Yum仓库里pv最新的是1.4.6版本,1.6.6版本是发布在CentOS8里面的,如果需要,可以将CentOS8里的pv下载到本地电脑上或者本地的Yum私服里, 这个是下载地址, 可以根据自己不同的架构下载, 1.6.6的安装: rpm -ivh pv-1.6.6-7.el8.x86_64.rpm -U
  • - +
    + + - - + + \ No newline at end of file diff --git a/c/pvck.html b/c/pvck.html index 30ebaa3727..265923dbf0 100644 --- a/c/pvck.html +++ b/c/pvck.html @@ -10,7 +10,7 @@ pvck 命令,Linux pvck 命令详解:检测物理卷的LVM元数据的一致性 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@ Found label on /dev/sdb1, sector 1, offset=4096, size=192512 Found LVM2 metadata record at offset=125952, size=70656, offset2=0 size2=0 - +
    +
    + - - + + \ No newline at end of file diff --git a/c/pvdisplay.html b/c/pvdisplay.html index 4028581660..fd477abe64 100644 --- a/c/pvdisplay.html +++ b/c/pvdisplay.html @@ -10,7 +10,7 @@ pvdisplay 命令,Linux pvdisplay 命令详解:显示物理卷的属性 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ PV Name /dev/sdb1 ....省略部分输出内容...... PV UUID FOXiS2-Ghaj-Z0Mf- cdVZ-pfpk- dP9p-ifIZXN - +
    + - - + + \ No newline at end of file diff --git a/c/pvremove.html b/c/pvremove.html index 39342dbe7b..878e075ae1 100644 --- a/c/pvremove.html +++ b/c/pvremove.html @@ -10,7 +10,7 @@ pvremove 命令,Linux pvremove 命令详解:删除一个存在的物理卷 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@

    使用pvremove指令删除物理卷/dev/sdb2。在命令行中输入下面的命令:

    pvremove /dev/sdb2 # 删除物理卷
     Labels on physical volume "/dev/sdb2" successfully wiped
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/pvs.html b/c/pvs.html index a11b855e89..f49c646ceb 100644 --- a/c/pvs.html +++ b/c/pvs.html @@ -10,7 +10,7 @@ pvs 命令,Linux pvs 命令详解:输出物理卷信息报表 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@
    PV         VG     fmt  Attr PSize   PFree  
     /dev/sdb1  vg1000 lvm2 --   100.00M 100.00M  
     /dev/sdb2         lvm2 --   101.98M 101.98M
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/pvscan.html b/c/pvscan.html index 02dfc06ef8..7e11075233 100644 --- a/c/pvscan.html +++ b/c/pvscan.html @@ -10,7 +10,7 @@ pvscan 命令,Linux pvscan 命令详解:扫描系统中所有硬盘的物理卷列表 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@ PV /dev/sdb2 lvm2 [2 [203.92 MB] / in use: 0 [0 ] / in no VG: 2 [203.92 MB] -

    说明:本例中,输出了两个物理卷,它们不属于任何卷组,是可被利用的物理卷。

    +

    说明:本例中,输出了两个物理卷,它们不属于任何卷组,是可被利用的物理卷。

    + - - + + \ No newline at end of file diff --git a/c/pwck.html b/c/pwck.html index 9f3aa7f1be..571a670789 100644 --- a/c/pwck.html +++ b/c/pwck.html @@ -10,7 +10,7 @@ pwck 命令,Linux pwck 命令详解:用来验证系统认证文件内容和格式的完整性 - Linux 命令搜索引擎 - +
    @@ -93,11 +93,12 @@ user 'pulse''saned': directory '/home/saned' does not exist user 'hplip': directory '/var/run/hplip' does not exist pwck:无改变 - +
    + - - + + \ No newline at end of file diff --git a/c/pwconv.html b/c/pwconv.html index 935ec48ef1..3ac8ffe0da 100644 --- a/c/pwconv.html +++ b/c/pwconv.html @@ -10,7 +10,7 @@ pwconv 命令,Linux pwconv 命令详解:用来开启用户的投影密码 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ test:x:3001:3001::/home/test:/bin/sh

    此时可以发现密码段是x

    cat /etc/shadow | grep test
     test:$6$nYOEWamm$bz07nlv/.RgJufb3FAqJJeULfwybzgxmrWqbk7O4vI0KsT6N.ujrh6dDIUcAJdfjksyuyAFDPIngZeD3cgcf.0:15022:0:99999:7:::
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/pwd.html b/c/pwd.html index 3480f263ee..b6d241baaa 100644 --- a/c/pwd.html +++ b/c/pwd.html @@ -10,7 +10,7 @@ pwd 命令,Linux pwd 命令详解:显示当前工作目录的绝对路径。 - Linux 命令搜索引擎 - +
    @@ -119,11 +119,12 @@
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man pwdinfo coreutils 'pwd invocation'
  • 启动或关闭内建命令请查看enable命令,关于同名优先级的问题请查看builtin命令的例子部分的相关讨论。
  • 在不禁用内建且当前环境没有定义pwd函数的情况下,使用/usr/bin/pwd指向coreutilspwd,使用pwd指向bash内建的pwd
  • - +
    + - - + + \ No newline at end of file diff --git a/c/pwunconv.html b/c/pwunconv.html index 5fda26cc97..8242cce6a7 100644 --- a/c/pwunconv.html +++ b/c/pwunconv.html @@ -10,7 +10,7 @@ pwunconv 命令,Linux pwunconv 命令详解:用来关闭用户的投影密码 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@ test:$6$nYOEWam ls /etc/shadow # 查看影子文件,提示没有这个文件或目录 ls: cannot access /etc/shadow: No such file or directory - +
    + - - + + \ No newline at end of file diff --git a/c/quota.html b/c/quota.html index 32d2ec71f9..3d82b2e50b 100644 --- a/c/quota.html +++ b/c/quota.html @@ -10,7 +10,7 @@ quota 命令,Linux quota 命令详解:显示磁盘已使用的空间与限制 - Linux 命令搜索引擎 - +
    @@ -157,11 +157,12 @@ Disk quotas for group qgroup for group qgroup (gid 502): Filesystem blocks quota limit grace files quota limit grace /dev/hdb1 0 80000 90000 0 0 0 - +
    + + + - - + + \ No newline at end of file diff --git a/c/quotaon.html b/c/quotaon.html index 3676337fd0..8e546b2f2c 100644 --- a/c/quotaon.html +++ b/c/quotaon.html @@ -10,7 +10,7 @@ quotaon 命令,Linux quotaon 命令详解:激活Linux内核中指定文件系统的磁盘配额功能 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    文件系统:指定要激活磁盘配额功能的文件系统。

    +

    文件系统:指定要激活磁盘配额功能的文件系统。

    + - - + + \ No newline at end of file diff --git a/c/rcconf.html b/c/rcconf.html index 9e0e2a4d3d..a17af73817 100644 --- a/c/rcconf.html +++ b/c/rcconf.html @@ -10,7 +10,7 @@ rcconf 命令,Linux rcconf 命令详解:Debian Linux下的运行等级服务配置工具 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@
    --help:打印帮助信息;
     --dialog:使用对话命令显示菜单;
     --notermcheck:不按照终端属性来设置窗口尺寸。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rcp.html b/c/rcp.html index 2f08e170fa..861655cdd7 100644 --- a/c/rcp.html +++ b/c/rcp.html @@ -10,7 +10,7 @@ rcp 命令,Linux rcp 命令详解:使在两台Linux主机之间的文件复制操作更简单 - Linux 命令搜索引擎 - +
    @@ -117,11 +117,12 @@

    要将名为 work 的远程目录复制到当前目录,请键入以下内容:

    rcp –r webserver1:/home/root/work .Enter
     
    -

    .表示当前目录。将在此目录下创建 work 目录。

    +

    .表示当前目录。将在此目录下创建 work 目录。

    + - - + + \ No newline at end of file diff --git a/c/read.html b/c/read.html index 34ad8faf8e..1cbdd622c4 100644 --- a/c/read.html +++ b/c/read.html @@ -10,7 +10,7 @@ read 命令,Linux read 命令详解:从键盘读取变量值 - Linux 命令搜索引擎 - +
    @@ -166,11 +166,12 @@ stty echo

    执行输出变量值的命令以后,将显示用户所输入的数据值,如下所示:

    Linux c+           #输出变量值
     
    -

    注意:使用echo命令输出变量值时,必须在变量名前添加符号$。否则,echo将直接输出变量名。

    +

    注意:使用echo命令输出变量值时,必须在变量名前添加符号$。否则,echo将直接输出变量名。

    + - - + + \ No newline at end of file diff --git a/c/readelf.html b/c/readelf.html index 3d25317a5f..f218b84917 100644 --- a/c/readelf.html +++ b/c/readelf.html @@ -10,7 +10,7 @@ readelf 命令,Linux readelf 命令详解:用于显示elf格式文件的信息 - Linux 命令搜索引擎 - +
    @@ -567,11 +567,12 @@ Key to Flags: W (write), A (alloc), X (execute), M (merge), S (strings) I (info), L (link order), G (group), x (unknown) O (extra OS processing required) o (OS specific), p (processor specific) - +
    + - - + + \ No newline at end of file diff --git a/c/readonly.html b/c/readonly.html index 4a1a6f16c6..480e02d263 100644 --- a/c/readonly.html +++ b/c/readonly.html @@ -10,7 +10,7 @@ readonly 命令,Linux readonly 命令详解:标记shell变量或函数为只读 - Linux 命令搜索引擎 - +
    @@ -137,11 +137,12 @@ value(可选):变量的值
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. declare +r不能去除只读属性, unset不能删除只读变量。
    3. -
    +
    + - - + + \ No newline at end of file diff --git a/c/reboot.html b/c/reboot.html index d541e15a0b..d90cc6d6d1 100644 --- a/c/reboot.html +++ b/c/reboot.html @@ -10,7 +10,7 @@ reboot 命令,Linux reboot 命令详解:重新启动正在运行的Linux操作系统 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ 实例
    reboot        //重开机。
     reboot -w     //做个重开机的模拟(只有纪录并不会真的重开机)。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/reject.html b/c/reject.html index 722b185506..d8b9ff7cb3 100644 --- a/c/reject.html +++ b/c/reject.html @@ -10,7 +10,7 @@ reject 命令,Linux reject 命令详解:指示打印系统拒绝发往指定目标打印机的打印任务 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    参数

    -

    目标:指定目标打印机。

    +

    目标:指定目标打印机。

    + - - + + \ No newline at end of file diff --git a/c/rename.html b/c/rename.html index 221a014d08..a9a75adac9 100644 --- a/c/rename.html +++ b/c/rename.html @@ -10,7 +10,7 @@ rename 命令,Linux rename 命令详解:用字符串替换的方式批量改变文件名 - Linux 命令搜索引擎 - +
    @@ -179,11 +179,12 @@ rename,来自 util-linux 2.23.2 # 从foo0200到foo0278的所有文件都被重命名为foo200到foo278,文件名中的foo0被替换为foo。 rename foo0 foo foo0[2]* - +
    + - - + + \ No newline at end of file diff --git a/c/renice.html b/c/renice.html index 1fe9976c44..ab037463ff 100644 --- a/c/renice.html +++ b/c/renice.html @@ -10,7 +10,7 @@ renice 命令,Linux renice 命令详解:修改正在运行的进程的调度优先级 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@

    将行程id为987及32的行程与行程拥有者为daemon及root的优先序号码加1:

    renice 1 987 -u daemon root -p 32
     
    -

    注意:每一个行程都有一个唯一的id。

    +

    注意:每一个行程都有一个唯一的id。

    + - - + + \ No newline at end of file diff --git a/c/repquota.html b/c/repquota.html index c7f44e35d0..e5908285c7 100644 --- a/c/repquota.html +++ b/c/repquota.html @@ -10,7 +10,7 @@ repquota 命令,Linux repquota 命令详解:报表的格式输出磁盘空间限制的状态 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@ 实例

    显示所有文件系统的磁盘使用情况

    repquota -a
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/resize.html b/c/resize.html index 08185b1a87..7b62a0d412 100644 --- a/c/resize.html +++ b/c/resize.html @@ -10,7 +10,7 @@ resize 命令,Linux resize 命令详解:命令设置终端机视窗的大小 - Linux 命令搜索引擎 - +
    @@ -83,11 +83,12 @@ setenv LINES [root@localhost ~]# resize -s 80 160 - +
    + + - - + + \ No newline at end of file diff --git a/c/restorecon.html b/c/restorecon.html index a0ad8e624a..38d6c3ccc4 100644 --- a/c/restorecon.html +++ b/c/restorecon.html @@ -10,7 +10,7 @@ restorecon 命令,Linux restorecon 命令详解:恢复文件的安全上下文 - Linux 命令搜索引擎 - +
    @@ -107,11 +107,12 @@ welcome to www.jsdig.com

    使用restorecon来恢复网页主目录中所有文件的SELinux配置信息(如果目标为一个目录,可以添加-R参数递归)

    [root@jsdig.com html]# restorecon -R /var/www/html/
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/return.html b/c/return.html index c5bb636740..507bf8030f 100644 --- a/c/return.html +++ b/c/return.html @@ -10,7 +10,7 @@ return 命令,Linux return 命令详解:从函数中退出并返回数值。 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ example 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/rev.html b/c/rev.html index f24b062695..a7f144cac4 100644 --- a/c/rev.html +++ b/c/rev.html @@ -10,7 +10,7 @@ rev 命令,Linux rev 命令详解:将文件内容以字符为单位反序输出 - Linux 命令搜索引擎 - +
    @@ -94,11 +94,12 @@ retlif* TPECCA j- ol o- TUPTUO A- TIMMOC 3102 51:52:12 62 ceD uhT no detelpmoC # - +
    + - - + + \ No newline at end of file diff --git a/c/rexec.html b/c/rexec.html index 874aaee431..d8dd45da4c 100644 --- a/c/rexec.html +++ b/c/rexec.html @@ -10,7 +10,7 @@ rexec 命令,Linux rexec 命令详解:远程执行Linux系统下命令 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@
    rexec host1 ls -l /home/karen
     

    在远程主机host1上的karen 用户的目录列表显示在本地系统上。

    -

    如果没有远程主机的$HOME/.netrc文件中的有效项,将提示您输入登录标识和密码。输入要求的登录信息后,在远程主机host1上的karen用户的目录列表显示在本地系统上。

    +

    如果没有远程主机的$HOME/.netrc文件中的有效项,将提示您输入登录标识和密码。输入要求的登录信息后,在远程主机host1上的karen用户的目录列表显示在本地系统上。

    + - - + + \ No newline at end of file diff --git a/c/rlogin.html b/c/rlogin.html index b4936e68bb..278b6b2386 100644 --- a/c/rlogin.html +++ b/c/rlogin.html @@ -10,7 +10,7 @@ rlogin 命令,Linux rlogin 命令详解:从当前终端登录到远程Linux主机 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    参数

    -

    远程主机:指定要登录的远程主机(ip地址或者域名)。

    +

    远程主机:指定要登录的远程主机(ip地址或者域名)。

    + - - + + \ No newline at end of file diff --git a/c/rm.html b/c/rm.html index 0fd6343584..e34c900720 100644 --- a/c/rm.html +++ b/c/rm.html @@ -10,7 +10,7 @@ rm 命令,Linux rm 命令详解:用于删除给定的文件和目录 - Linux 命令搜索引擎 - +
    @@ -135,11 +135,12 @@ Remove example ?y(删除文件example)

    rm 显示当前删除操作的详情

    rm -v [文件/目录]
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rmdir.html b/c/rmdir.html index 7819e80421..39337dc6e3 100644 --- a/c/rmdir.html +++ b/c/rmdir.html @@ -10,7 +10,7 @@ rmdir 命令,Linux rmdir 命令详解:用来删除空目录 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@

    下面命令等价于 rmdir a/b/c, rmdir a/b, rmdir a

    rmdir -p a/b/c
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rmmod.html b/c/rmmod.html index 7e66ed1fad..a376bd4817 100644 --- a/c/rmmod.html +++ b/c/rmmod.html @@ -10,7 +10,7 @@ rmmod 命令,Linux rmmod 命令详解:从运行的内核中移除指定的内核模块 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@ raid1 25153 [root@localhost boot]# rmmod raid1 [root@localhost boot]# lsmod | grep raid1 - +
    + + + - - + + \ No newline at end of file diff --git a/c/rpm2cpio.html b/c/rpm2cpio.html index c921a7bda2..371fccd85c 100644 --- a/c/rpm2cpio.html +++ b/c/rpm2cpio.html @@ -10,7 +10,7 @@ rpm2cpio 命令,Linux rpm2cpio 命令详解:将RPM软件包转换为cpio格式的文件 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@ 实例
    rpm2cpio ../libstdc++-4.3.0-8.i386.rpm | cpio -idv
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rpmbuild.html b/c/rpmbuild.html index 04f713dbf4..1483322556 100644 --- a/c/rpmbuild.html +++ b/c/rpmbuild.html @@ -10,7 +10,7 @@ rpmbuild 命令,Linux rpmbuild 命令详解:创建RPM的二进制软件包和源码软件包 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ 实例
    rpmbuild -ba 'spec文件路径'
     
    -

    build完后,可以在/usr/src/redhat/RPMS/下找到二进制rpm包,rpm包按照其对应的cpu体系结构分类,通常在/usr/src/redhat/RPMS/i386目录下。/usr/src/redhat/SRPMS/下找到源码rpm包,此时由于是源代码,所以无须按体系结构分类。

    +

    build完后,可以在/usr/src/redhat/RPMS/下找到二进制rpm包,rpm包按照其对应的cpu体系结构分类,通常在/usr/src/redhat/RPMS/i386目录下。/usr/src/redhat/SRPMS/下找到源码rpm包,此时由于是源代码,所以无须按体系结构分类。

    + - - + + \ No newline at end of file diff --git a/c/rpmdb.html b/c/rpmdb.html index e6414ce186..1380e9b239 100644 --- a/c/rpmdb.html +++ b/c/rpmdb.html @@ -10,7 +10,7 @@ rpmdb 命令,Linux rpmdb 命令详解:初始化和重建RPM数据库 - Linux 命令搜索引擎 - +
    @@ -63,11 +63,12 @@ 选项
    --initdb:初始化RPM数据库;
     --rebuilddb:从已安装的包头文件,反向重建RPM数据库。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rpmquery.html b/c/rpmquery.html index 68613bfc13..1a14d326c4 100644 --- a/c/rpmquery.html +++ b/c/rpmquery.html @@ -10,7 +10,7 @@ rpmquery 命令,Linux rpmquery 命令详解:从RPM数据库中查询软件包信息 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@

    使用rpmquery命令查询指定文件所属的软件包:

    [root@localhost ~]# rpmquery -qf /usr/bin/htpasswd
     httpd-2.2.3-81.el5.centos
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rpmsign.html b/c/rpmsign.html index 9ab3ce2552..51bff21326 100644 --- a/c/rpmsign.html +++ b/c/rpmsign.html @@ -10,7 +10,7 @@ rpmsign 命令,Linux rpmsign 命令详解:使用RPM软件包的签名管理工具 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@ --resign:重新签名软件包; --nodigest:不验证软件包摘要; --nosignature:不验证软件包签名。 - +
    + - - + + \ No newline at end of file diff --git a/c/rpmverify.html b/c/rpmverify.html index 06539fd35f..79f04e3af7 100644 --- a/c/rpmverify.html +++ b/c/rpmverify.html @@ -10,7 +10,7 @@ rpmverify 命令,Linux rpmverify 命令详解:验证已安装的RPM软件包的正确性 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@
    -Va:验证所有软件包;
     -V<软件包>f:验证指定软件包;
     --nomd5:不验证软件包的md5摘要。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/rsh.html b/c/rsh.html index cf8ced14a6..3dcefca578 100644 --- a/c/rsh.html +++ b/c/rsh.html @@ -10,7 +10,7 @@ rsh 命令,Linux rsh 命令详解:连接远程主机并执行命令 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/rsync.html b/c/rsync.html index 921c81a3bc..211a596fd7 100644 --- a/c/rsync.html +++ b/c/rsync.html @@ -10,7 +10,7 @@ rsync 命令,Linux rsync 命令详解:远程数据同步工具 - Linux 命令搜索引擎 - +
    @@ -291,11 +291,12 @@ $ rsync -av --exclude $ rsync -av --include="*.txt" --exclude='*' source/ destination -

    上面命令指定同步时,排除所有文件,但是会包括 TXT 文件。

    +

    上面命令指定同步时,排除所有文件,但是会包括 TXT 文件。

    + + - - + + \ No newline at end of file diff --git a/c/sar.html b/c/sar.html index cc84163c9c..48037a2c53 100644 --- a/c/sar.html +++ b/c/sar.html @@ -10,7 +10,7 @@ sar 命令,Linux sar 命令详解:系统运行状态统计工具 - Linux 命令搜索引擎 - +
    @@ -104,11 +104,12 @@ Average: 324346 sar -o temp 60 10 - +
    + + - - + + \ No newline at end of file diff --git a/c/screen.html b/c/screen.html index e9a3b8dcf1..62b12630b8 100644 --- a/c/screen.html +++ b/c/screen.html @@ -10,7 +10,7 @@ screen 命令,Linux screen 命令详解:用于命令行终端切换 - Linux 命令搜索引擎 - +
    @@ -200,11 +200,12 @@ There are screens on:

    一般情况下,可以移动光标到指定位置,按下空格设置一个开头标记,然后移动光标到结尾位置,按下空格设置第二个标记,同时会将两个标记之间的部分储存在copy/paste buffer中,并退出copy/paste模式。在正常模式下,可以使用快捷键C-a ]将储存在buffer中的内容粘贴到当前窗口。

    更多screen功能

    同大多数UNIX程序一样,GNU Screen提供了丰富强大的定制功能。你可以在Screen的默认两级配置文件/etc/screenrc和$HOME/.screenrc中指定更多,例如设定screen选项,定制绑定键,设定screen会话自启动窗口,启用多用户模式,定制用户访问权限控制等等。如果你愿意的话,也可以自己指定screen配置文件。

    -

    以多用户功能为例,screen默认是以单用户模式运行的,你需要在配置文件中指定multiuser on 来打开多用户模式,通过acl*(acladd,acldel,aclchg...)命令,你可以灵活配置其他用户访问你的screen会话。更多配置文件内容请参考screen的man页。

    +

    以多用户功能为例,screen默认是以单用户模式运行的,你需要在配置文件中指定multiuser on 来打开多用户模式,通过acl*(acladd,acldel,aclchg...)命令,你可以灵活配置其他用户访问你的screen会话。更多配置文件内容请参考screen的man页。

    + - - + + \ No newline at end of file diff --git a/c/script.html b/c/script.html index daffb24437..77232df190 100644 --- a/c/script.html +++ b/c/script.html @@ -10,7 +10,7 @@ script 命令,Linux script 命令详解:记录终端会话的所有操作 - Linux 命令搜索引擎 - +
    @@ -144,11 +144,12 @@ zfb@localhost:~$
    sudo mkdir -p /var/log/script-records/
     sudo chmod 733 /var/log/script-records/
     
    -

    最后,执行命令source /etc/profile即可。任意用户(UID ≥ 0)在终端执行的所有操作都会被安静地记录下来,以天为单位存储。

    +

    最后,执行命令source /etc/profile即可。任意用户(UID ≥ 0)在终端执行的所有操作都会被安静地记录下来,以天为单位存储。

    + - - + + \ No newline at end of file diff --git a/c/scriptreplay.html b/c/scriptreplay.html index e183332750..3888c47b02 100644 --- a/c/scriptreplay.html +++ b/c/scriptreplay.html @@ -10,7 +10,7 @@ scriptreplay 命令,Linux scriptreplay 命令详解:重新播放终端会话的所有操作 - Linux 命令搜索引擎 - +
    @@ -126,11 +126,12 @@ zfb@localhost:~$ exit zfb@localhost:~$ -

    其中,只有命令scriptreplay -d 1 -m 2 -t time.file -s command.log是用户输入,其他均为自动呈现(且视觉效果与真实用户的操作一致)。通过查看上面输出的时间2020-12-23 20:48:46,可以证明,这是重新播放当时的记录,而非重新执行一遍命令。也就是说,可以把time.filecommand.log文件移动到任意一台支持scriptreplay命令的机器上,都可以动态重现命令输入与终端回显。

    +

    其中,只有命令scriptreplay -d 1 -m 2 -t time.file -s command.log是用户输入,其他均为自动呈现(且视觉效果与真实用户的操作一致)。通过查看上面输出的时间2020-12-23 20:48:46,可以证明,这是重新播放当时的记录,而非重新执行一遍命令。也就是说,可以把time.filecommand.log文件移动到任意一台支持scriptreplay命令的机器上,都可以动态重现命令输入与终端回显。

    + - - + + \ No newline at end of file diff --git a/c/sed.html b/c/sed.html index 9d000b733a..cdd054d49c 100644 --- a/c/sed.html +++ b/c/sed.html @@ -10,7 +10,7 @@ sed 命令,Linux sed 命令详解:功能强大的流式文本编辑器 - Linux 命令搜索引擎 - +
    @@ -336,11 +336,12 @@ HELLO WORLD
    grep -A 1 SCC URFILE
     sed -n '/SCC/{n;p}' URFILE
     awk '/SCC/{getline; print}' URFILE
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/seinfo.html b/c/seinfo.html index 77f9a28157..4d756209f0 100644 --- a/c/seinfo.html +++ b/c/seinfo.html @@ -10,7 +10,7 @@ seinfo 命令,Linux seinfo 命令详解:查询SELinux的策略提供多少相关规则 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ 实例

    列出与httpd有关的规则:

    seinfo -b | grep httpd
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/semanage.html b/c/semanage.html index 5d0ab2de4a..76ffb95f97 100644 --- a/c/semanage.html +++ b/c/semanage.html @@ -10,7 +10,7 @@ semanage 命令,Linux semanage 命令详解:默认目录的安全上下文查询与修改 - Linux 命令搜索引擎 - +
    @@ -107,11 +107,12 @@ semanage fcontext -l | #有默认值,以后用restorecon命令来修改比较简单! -

    semanage命令的功能很多,这里主要用到的仅有fcontext这个选项的用法而已。如上所示,你可以使用semanage来查询所有的目录默认值,也能够使用它来增加默认值的设置!

    +

    semanage命令的功能很多,这里主要用到的仅有fcontext这个选项的用法而已。如上所示,你可以使用semanage来查询所有的目录默认值,也能够使用它来增加默认值的设置!

    + + - - + + \ No newline at end of file diff --git a/c/seq.html b/c/seq.html index 8785fe7de6..3363cdd806 100644 --- a/c/seq.html +++ b/c/seq.html @@ -10,7 +10,7 @@ seq 命令,Linux seq 命令详解:以指定增量从首数开始打印数字到尾数 - Linux 命令搜索引擎 - +
    @@ -103,11 +103,12 @@ str009 str010 str011
    seq -s"`echo -e "\n"`" 9 11
     19293949596979899910911
     
    -

    得到的是个错误结果,不过一般也没有这个必要,它默认的就是回车作为分隔符。

    +

    得到的是个错误结果,不过一般也没有这个必要,它默认的就是回车作为分隔符。

    + - - + + \ No newline at end of file diff --git a/c/service.html b/c/service.html index 6c1c1d2d68..f7e797e78c 100644 --- a/c/service.html +++ b/c/service.html @@ -10,7 +10,7 @@ service 命令,Linux service 命令详解:控制系统服务的实用工具 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@ mysqld (pid 16 service mysqld restart 停止 MySQL: [ 确定 ] 启动 MySQL: [ 确定 ] - +
    + - - + + \ No newline at end of file diff --git a/c/sesearch.html b/c/sesearch.html index 1fcfc6681f..566380063f 100644 --- a/c/sesearch.html +++ b/c/sesearch.html @@ -10,7 +10,7 @@ sesearch 命令,Linux sesearch 命令详解:查询SELinux策略的规则详情 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@

    查看布尔值httpd_enable_homedirs设置了多少规则

    sesearch -b httpd_enable_homedirs -a
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/set.html b/c/set.html index 3e9b5916c1..9724537749 100644 --- a/c/set.html +++ b/c/set.html @@ -10,7 +10,7 @@ set 命令,Linux set 命令详解:显示或设置shell特性及shell变量 - Linux 命令搜索引擎 - +
    @@ -96,11 +96,12 @@

    执行该命令后,将会新添加对应的环境变量。用户可以使用env命令和grep命令分别显示和搜索环境变量"mylove",输入命令如下:

    env | grep mylove             #显示环境变量值
     
    -

    此时,该命令执行后,将输出查询到的环境变量值。

    +

    此时,该命令执行后,将输出查询到的环境变量值。

    + - - + + \ No newline at end of file diff --git a/c/setfacl.html b/c/setfacl.html index a0ada5da93..83c4d80be0 100644 --- a/c/setfacl.html +++ b/c/setfacl.html @@ -10,7 +10,7 @@ setfacl 命令,Linux setfacl 命令详解:设置文件访问控制列表 - Linux 命令搜索引擎 - +
    @@ -239,11 +239,12 @@ other::r--

    如果你的文件系统不支持ACL的话,你也许需要重新mount你的file system:

    mount -o remount, acl [mount point]
     
    -

    如果用chmod命令改变Linux file permission的时候相应的ACL值也会改变,反之改变ACL的值,相应的file permission也会改变。

    +

    如果用chmod命令改变Linux file permission的时候相应的ACL值也会改变,反之改变ACL的值,相应的file permission也会改变。

    + - - + + \ No newline at end of file diff --git a/c/setpci.html b/c/setpci.html index be7534a71a..5f41193105 100644 --- a/c/setpci.html +++ b/c/setpci.html @@ -10,7 +10,7 @@ setpci 命令,Linux setpci 命令详解:查询和配置PCI设备的使用工具 - Linux 命令搜索引擎 - +
    @@ -102,11 +102,12 @@

    我这里00是最暗,FF是最亮,不同的电脑可能不一样。比如说我嫌FF太闪眼了,我就可以:

    sudo setpci -s 00:02.0 F4.B=CC
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/setsebool.html b/c/setsebool.html index 5e5501676f..abe701a37c 100644 --- a/c/setsebool.html +++ b/c/setsebool.html @@ -10,7 +10,7 @@ setsebool 命令,Linux setsebool 命令详解:修改SElinux策略内各项规则的布尔值 - Linux 命令搜索引擎 - +
    @@ -132,11 +132,12 @@ chcon -R -t httpd_sys_content_t ~user/public_html

    系统工作在nis环境时:

    setsebool -P allow_ypbind 1
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/setsid.html b/c/setsid.html index f8b7fa56aa..4e22507e29 100644 --- a/c/setsid.html +++ b/c/setsid.html @@ -10,7 +10,7 @@ setsid 命令,Linux setsid 命令详解:在新的会话中运行程序 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@ root 31094 1 0 07:28 ? 00:00:00 ping www.ibm.com root 31102 29217 0 07:29 pts/4 00:00:00 grep www.ibm.com [root@root ~]# - +
    + + - - + + \ No newline at end of file diff --git a/c/sftp.html b/c/sftp.html index d7343a71f0..f620eb671a 100644 --- a/c/sftp.html +++ b/c/sftp.html @@ -10,7 +10,7 @@ sftp 命令,Linux sftp 命令详解:交互式的文件传输程序 - Linux 命令搜索引擎 - +
    @@ -89,11 +89,12 @@ Fetching /export/sftp/test.csv to /Users/my/Downloads/test.csv
    sftp> put /Users/my/Downloads/re-produce.gif /export/sftp
     Uploading /Users/my/Downloads/re-produce.gif to /export/sftp/re-produce.gif
     /Users/my/Downloads/re-produce.gif            100%  257KB  86.6KB/s   00:02
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/sh.html b/c/sh.html index fa9cb16967..dd61c86636 100644 --- a/c/sh.html +++ b/c/sh.html @@ -10,7 +10,7 @@ sh 命令,Linux sh 命令详解:shell命令解释器 - Linux 命令搜索引擎 - +
    @@ -99,11 +99,12 @@ + '[' 1 -gt 0 ']' + echo sshd:121.42.0.72 + echo vsftpd:121.42.0.72 - +
    + - - + + \ No newline at end of file diff --git a/c/shift.html b/c/shift.html index a123e92715..a9d05a4842 100644 --- a/c/shift.html +++ b/c/shift.html @@ -10,7 +10,7 @@ shift 命令,Linux shift 命令详解:移动位置参数。 - Linux 命令搜索引擎 - +
    @@ -91,11 +91,12 @@ e r t 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/shopt.html b/c/shopt.html index 8df4ec99aa..0c7c608aea 100644 --- a/c/shopt.html +++ b/c/shopt.html @@ -10,7 +10,7 @@ shopt 命令,Linux shopt 命令详解:显示和设置shell操作选项 - Linux 命令搜索引擎 - +
    @@ -90,11 +90,12 @@ extdebug off

    执行上面的命令后,该选项的状态将变为"on",即开启状态。可以再次通过该命令显示一下shell操作选项即可,输出信息如下:

    cdspell on                #开启cdspell选项
     
    -

    用户可以通过实际执行cd命令检查该选项是否被成功开启。

    +

    用户可以通过实际执行cd命令检查该选项是否被成功开启。

    + - - + + \ No newline at end of file diff --git a/c/showmount.html b/c/showmount.html index c0076f38a4..37a1cf7bcf 100644 --- a/c/showmount.html +++ b/c/showmount.html @@ -10,7 +10,7 @@ showmount 命令,Linux showmount 命令详解:显示NFS服务器加载的信息 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    NFS服务器:指定NFS服务器的ip地址或者主机名。

    +

    NFS服务器:指定NFS服务器的ip地址或者主机名。

    + - - + + \ No newline at end of file diff --git a/c/shuf.html b/c/shuf.html index 8f7a3f588d..b5c3a0d297 100644 --- a/c/shuf.html +++ b/c/shuf.html @@ -10,7 +10,7 @@ shuf 命令,Linux shuf 命令详解:产生随机的排列。 - Linux 命令搜索引擎 - +
    @@ -115,11 +115,12 @@ 注意
    1. 该命令是GNU coreutils包中的命令,更多详细的帮助信息请查看man -s 1 shufinfo coreutils 'shuf invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/shutdown.html b/c/shutdown.html index 9582b96c6a..cf9e1cae1f 100644 --- a/c/shutdown.html +++ b/c/shutdown.html @@ -10,7 +10,7 @@ shutdown 命令,Linux shutdown 命令详解:用来执行系统关机的命令 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@

    指定5分钟后关机,同时送出警告信息给登入用户:

    shutdown +5 "System will shutdown after 5 minutes"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/skill.html b/c/skill.html index 81d33e8325..de1f6bbf97 100644 --- a/c/skill.html +++ b/c/skill.html @@ -10,7 +10,7 @@ skill 命令,Linux skill 命令详解:向选定的进程发送信号冻结进程 - Linux 命令搜索引擎 - +
    @@ -134,11 +134,12 @@ Swap: 2041192k av, 83152k used, 1958040k freeUSER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 16894 oracle 20 4 38904 32M 26248 D N 5.5 3.2 0:01 0 oracle -

    注意,NI 列(nice 值)现在是 4,优先级现在设置为 20,而不是 15。这对于降低优先级非常有帮助。

    +

    注意,NI 列(nice 值)现在是 4,优先级现在设置为 20,而不是 15。这对于降低优先级非常有帮助。

    + + - - + + \ No newline at end of file diff --git a/c/sleep.html b/c/sleep.html index 16f5334bb5..439563b34b 100644 --- a/c/sleep.html +++ b/c/sleep.html @@ -10,7 +10,7 @@ sleep 命令,Linux sleep 命令详解:将目前动作延迟一段时间 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@ b=#$b done echo - +
    + - - + + \ No newline at end of file diff --git a/c/slocate.html b/c/slocate.html index 757e9801df..cec876bd83 100644 --- a/c/slocate.html +++ b/c/slocate.html @@ -10,7 +10,7 @@ slocate 命令,Linux slocate 命令详解:命令查找文件或目录 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ /usr/share/doc/util-Linux/README.cfdisk /usr/share/doc/util-Linux/README.fdisk.gz /usr/share/doc/util-Linux/examples/sfdisk.examples.gz - +
    + - - + + \ No newline at end of file diff --git a/c/smbclient.html b/c/smbclient.html index db8c77f23d..a571dcc26b 100644 --- a/c/smbclient.html +++ b/c/smbclient.html @@ -10,7 +10,7 @@ smbclient 命令,Linux smbclient 命令详解:交互方式访问samba服务器 - Linux 命令搜索引擎 - +
    @@ -107,11 +107,12 @@ smb:/>ls

    创建一个共享文件夹

    smbclient -c "mkdir share1" //192.168.0.1/tmp -U username%password
     
    -

    如果用户共享//192.168.0.1/tmp的方式是只读的,会提示NT_STATUS_ACCESS_DENIED making remote directory /share1

    +

    如果用户共享//192.168.0.1/tmp的方式是只读的,会提示NT_STATUS_ACCESS_DENIED making remote directory /share1

    + - - + + \ No newline at end of file diff --git a/c/smbpasswd.html b/c/smbpasswd.html index 6e9a392293..ed3ba8e01e 100644 --- a/c/smbpasswd.html +++ b/c/smbpasswd.html @@ -10,7 +10,7 @@ smbpasswd 命令,Linux smbpasswd 命令详解:samba用户和密码管理工具 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    参数

    -

    用户名:指定要修改SMB密码的用户。

    +

    用户名:指定要修改SMB密码的用户。

    + - - + + \ No newline at end of file diff --git a/c/sort.html b/c/sort.html index 1bf3683dd3..72472afc13 100644 --- a/c/sort.html +++ b/c/sort.html @@ -10,7 +10,7 @@ sort 命令,Linux sort 命令详解:对文本文件中所有行进行排序。 - Linux 命令搜索引擎 - +
    @@ -240,11 +240,12 @@ guge 50 3000
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 shufinfo coreutils 'shuf invocation'

  • - +
    + - - + + \ No newline at end of file diff --git a/c/source.html b/c/source.html index b679cbcd08..dae6f8b042 100644 --- a/c/source.html +++ b/c/source.html @@ -10,7 +10,7 @@ source 命令,Linux source 命令详解:在当前Shell环境中从指定文件读取和执行命令。 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看 help 命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/speedtest-cli.html b/c/speedtest-cli.html index 878dcd1df6..11a6b3b349 100644 --- a/c/speedtest-cli.html +++ b/c/speedtest-cli.html @@ -10,7 +10,7 @@ speedtest-cli 命令,Linux speedtest-cli 命令详解:命令行下测试服务器外网速度 - Linux 命令搜索引擎 - +
    @@ -133,11 +133,12 @@ Download: 24.84 Mbit/s Testing upload speed.................................................. Upload: 4.57 Mbit/s Share results: http://www.speedtest.net/result/3240988007.png - +
    + - - + + \ No newline at end of file diff --git a/c/spell.html b/c/spell.html index 0a047f6dd1..26898c79c2 100644 --- a/c/spell.html +++ b/c/spell.html @@ -10,7 +10,7 @@ spell 命令,Linux spell 命令详解:对文件进行拼写检查 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件:指定需要进行拼写检查的文件。

    +

    文件:指定需要进行拼写检查的文件。

    + - - + + \ No newline at end of file diff --git a/c/split.html b/c/split.html index 3bbe5cb4fd..88ccf27639 100644 --- a/c/split.html +++ b/c/split.html @@ -10,7 +10,7 @@ split 命令,Linux split 命令详解:分割任意大小的文件 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@ date.file split_file000 split_file001 split_file002 split_file003 split_fil

    使用-l选项根据文件的行数来分割文件,例如把文件分割成每个包含10行的小文件:

    split -l 10 date.file
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/squid.html b/c/squid.html index a1aea7503e..55286f2c05 100644 --- a/c/squid.html +++ b/c/squid.html @@ -10,7 +10,7 @@ squid 命令,Linux squid 命令详解:squid服务器守护进程 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@ -D:不进行DNS参数测试; -N:以非守护进程模式运行; -X:强制进入完全调试模式。 - +
    + - - + + \ No newline at end of file diff --git a/c/squidclient.html b/c/squidclient.html index c8c5b176e0..bc24073e2d 100644 --- a/c/squidclient.html +++ b/c/squidclient.html @@ -10,7 +10,7 @@ squidclient 命令,Linux squidclient 命令详解:squid服务器的客户端管理工具 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@

    参数

    -

    URL:指定操作缓存中的URL。

    +

    URL:指定操作缓存中的URL。

    + - - + + \ No newline at end of file diff --git a/c/ss.html b/c/ss.html index 9e5be9711f..64cf0f97dd 100644 --- a/c/ss.html +++ b/c/ss.html @@ -10,7 +10,7 @@ ss 命令,Linux ss 命令详解:比 netstat 好用的socket统计信息,iproute2 包附带的另一个工具,允许你查询 socket 的有关统计信息 - Linux 命令搜索引擎 - +
    @@ -221,11 +221,12 @@ tcp LISTEN 0 7 ESTAB 31 TIME-WAIT 28 - +
    + - - + + \ No newline at end of file diff --git a/c/ssh-add.html b/c/ssh-add.html index 00fc32758c..bf88f8bbbc 100644 --- a/c/ssh-add.html +++ b/c/ssh-add.html @@ -10,7 +10,7 @@ ssh-add 命令,Linux ssh-add 命令详解:把专用密钥添加到ssh-agent的高速缓存中 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@ ssh-add -e pkcs11

    3、查看ssh-agent中的密钥:

    ssh-add -l
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/ssh-agent.html b/c/ssh-agent.html index 08a44d2296..ca77c2627e 100644 --- a/c/ssh-agent.html +++ b/c/ssh-agent.html @@ -10,7 +10,7 @@ ssh-agent 命令,Linux ssh-agent 命令详解:ssh密钥管理器 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ ssh-agent [-c ssh-agent -

    运行ssh-agent,它会打印出来它使用的环境和变量。

    +

    运行ssh-agent,它会打印出来它使用的环境和变量。

    + + - - + + \ No newline at end of file diff --git a/c/ssh-keygen.html b/c/ssh-keygen.html index 9bacd36fac..3cb79c2307 100644 --- a/c/ssh-keygen.html +++ b/c/ssh-keygen.html @@ -10,7 +10,7 @@ ssh-keygen 命令,Linux ssh-keygen 命令详解:为ssh生成、管理和转换认证密钥 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@ -P:提供(旧)密语; -q:静默模式; -t:指定要创建的密钥类型。 - +
    + - - + + \ No newline at end of file diff --git a/c/ssh-keyscan.html b/c/ssh-keyscan.html index 6ac5c2000a..179c8251d3 100644 --- a/c/ssh-keyscan.html +++ b/c/ssh-keyscan.html @@ -10,7 +10,7 @@ ssh-keyscan 命令,Linux ssh-keyscan 命令详解:收集主机公钥的使用工具 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@

    参数

    -

    主机列表:指定要收集公钥的主机列表。

    +

    主机列表:指定要收集公钥的主机列表。

    + - - + + \ No newline at end of file diff --git a/c/ssh.html b/c/ssh.html index a2d480d840..5b134f7c90 100644 --- a/c/ssh.html +++ b/c/ssh.html @@ -10,7 +10,7 @@ ssh 命令,Linux ssh 命令详解:openssh套件中的客户端连接工具 - Linux 命令搜索引擎 - +
    @@ -173,11 +173,12 @@ iptables -A OUTPUT -p tcp --sport 22 -m conntr

    如果你想将上述命令创建的规则持久地保存,在某些系统版本中,可使用如下命令:

    service iptables save
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/sshd.html b/c/sshd.html index c714ab3736..989e7d33d6 100644 --- a/c/sshd.html +++ b/c/sshd.html @@ -10,7 +10,7 @@ sshd 命令,Linux sshd 命令详解:openssh软件套件中的服务器守护进程 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@ -o:指定ssh的配置选项; -p:静默模式,没有任何信息写入日志; -t:测试模式。 - +
    + - - + + \ No newline at end of file diff --git a/c/startx.html b/c/startx.html index e6339b9063..02df1ce68f 100644 --- a/c/startx.html +++ b/c/startx.html @@ -10,7 +10,7 @@ startx 命令,Linux startx 命令详解:用来启动X Window - Linux 命令搜索引擎 - +
    @@ -111,11 +111,12 @@ $HOME/.awmrc awm 配置文件。 $HOME/.uwmrc uwm 配置文件。 /dev/lft* 终端或 tty、工作站初始 login shell 的界面。 - +
    + - - + + \ No newline at end of file diff --git a/c/stat.html b/c/stat.html index 293e2ba2a9..53e3ca63e8 100644 --- a/c/stat.html +++ b/c/stat.html @@ -10,7 +10,7 @@ stat 命令,Linux stat 命令详解:用于显示文件的状态信息 - Linux 命令搜索引擎 - +
    @@ -95,11 +95,12 @@ Inodes: Total: 249364480 Free: [root@localhost ~]# stat -t myfile myfile 0 8 81a4 0 0 fd00 194805815 1 0 0 1292127755 1286628261 1286628261 4096 - +
    + - - + + \ No newline at end of file diff --git a/c/strace.html b/c/strace.html index e6bc8c226f..bb047b8041 100644 --- a/c/strace.html +++ b/c/strace.html @@ -10,7 +10,7 @@ strace 命令,Linux strace 命令详解:跟踪系统调用和信号 - Linux 命令搜索引擎 - +
    @@ -354,11 +354,12 @@ lrwx------ 1 oracle dba 11:14:05.608962 pwrite(21, "\1\"\0\0g!"..., 1024, 4378112) = 1024 11:14:05.611022 pwrite(20, "\1\"\0\0i!"..., 1536, 4379136) = 1536 11:14:05.611283 pwrite(21, "\1\"\0\0i!"..., 1536, 4379136) = 1536 - +
    + + - - + + \ No newline at end of file diff --git a/c/stty.html b/c/stty.html index c26d3af35c..460334d6af 100644 --- a/c/stty.html +++ b/c/stty.html @@ -10,7 +10,7 @@ stty 命令,Linux stty 命令详解:修改终端命令行的相关设置 - Linux 命令搜索引擎 - +
    @@ -109,11 +109,12 @@ stty -igncr #恢复

    更简单的方法就是利用read命令的-t选项:

    read -t 10 varname
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/su.html b/c/su.html index 7ff6445d39..7dc0beec8d 100644 --- a/c/su.html +++ b/c/su.html @@ -10,7 +10,7 @@ su 命令,Linux su 命令详解:用于切换当前用户身份到其他用户身份 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@

    变更帐号为test并改变工作目录至test的家目录:

    su -test
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/sudo.html b/c/sudo.html index 8c6d094ae6..c6c9191b0f 100644 --- a/c/sudo.html +++ b/c/sudo.html @@ -10,7 +10,7 @@ sudo 命令,Linux sudo 命令详解:以其他身份来执行命令 - Linux 命令搜索引擎 - +
    @@ -168,11 +168,12 @@ install.log.syslog

    重定向没有被记录在案!为什么?因为在命令运行之前,shell把重定向的工作做完了,sudo根本就没看到重定向。这也有个好处,下面的手段不会得逞:

    [foobar@localhost ~]$ sudo ls /root > /etc/shadowbash: /etc/shadow: 权限不够
     
    -

    sudo 有自己的方式来保护安全。以root的身份执行sudo-V,查看一下sudo的设置。因为考虑到安全问题,一部分环境变量并没有传递给sudo后面的命令,或者被检查后再传递的,比如:PATH,HOME,SHELL等。当然,你也可以通过sudoers来配置这些环境变量。

    +

    sudo 有自己的方式来保护安全。以root的身份执行sudo-V,查看一下sudo的设置。因为考虑到安全问题,一部分环境变量并没有传递给sudo后面的命令,或者被检查后再传递的,比如:PATH,HOME,SHELL等。当然,你也可以通过sudoers来配置这些环境变量。

    + - - + + \ No newline at end of file diff --git a/c/sum.html b/c/sum.html index 9e55313f2e..771753ebe7 100644 --- a/c/sum.html +++ b/c/sum.html @@ -10,7 +10,7 @@ sum 命令,Linux sum 命令详解:计算文件的校验码和显示块数 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@

    计算文件校验码:

    [root@localhost ~]# sum insert.sql
     00827    12
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/supervisord.html b/c/supervisord.html index 94583d84ea..d5071819a3 100644 --- a/c/supervisord.html +++ b/c/supervisord.html @@ -10,7 +10,7 @@ supervisord 命令,Linux supervisord 命令详解:配置后台服务/常驻进程的进程管家工具 - Linux 命令搜索引擎 - +
    @@ -77,6 +77,7 @@ supervisorctl reload # 修改/添加配置文件需
    + - - + + \ No newline at end of file diff --git a/c/suspend.html b/c/suspend.html index 5fb25e8e08..2597947627 100644 --- a/c/suspend.html +++ b/c/suspend.html @@ -10,7 +10,7 @@ suspend 命令,Linux suspend 命令详解:挂起shell的执行。 - Linux 命令搜索引擎 - +
    @@ -93,11 +93,12 @@
  • bash的作业控制命令包括bg fg kill wait disown suspend
  • 该命令需要set选项monitor处于开启状态时才能执行;查看作业控制状态:输入set -o查看monitor行;执行set -o monitorset -m开启该选项。
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/swapoff.html b/c/swapoff.html index fd6d621448..22d4e8d716 100644 --- a/c/swapoff.html +++ b/c/swapoff.html @@ -10,7 +10,7 @@ swapoff 命令,Linux swapoff 命令详解:关闭指定的交换空间 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@ 实例

    关闭交换分区

    swapoff /dev/sda2
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/swapon.html b/c/swapon.html index 2da0b84b97..07db4462a7 100644 --- a/c/swapon.html +++ b/c/swapon.html @@ -10,7 +10,7 @@ swapon 命令,Linux swapon 命令详解:激活Linux系统中交换空间 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ Filename type Size Used Priority /dev/hda5 partition 506008 96 -1 /dev/hdb4 partition 489972 0 -2 - +
    + - - + + \ No newline at end of file diff --git a/c/sync.html b/c/sync.html index 431a82719e..b1df072abf 100644 --- a/c/sync.html +++ b/c/sync.html @@ -10,7 +10,7 @@ sync 命令,Linux sync 命令详解:用于强制被改变的内容立刻写入磁盘 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@

    linux系统为了提高读写磁盘的效率,会先将数据放在一块buffer中。在写磁盘时并不是立即将数据写到磁盘中,而是先写入这块buffer中了。此时如果重启系统,就可能造成数据丢失。

    sync命令用来flush文件系统buffer,这样数据才会真正的写到磁盘中,并且buffer才能够释放出来,flush就是用来清空buffer。sync命令会强制将数据写入磁盘中,并释放该数据对应的buffer,所以常常会在写磁盘后输入sync命令来将数据真正的写入磁盘。

    -

    如果不去手动的输入sync命令来真正的去写磁盘,linux系统也会周期性的去sync数据。

    +

    如果不去手动的输入sync命令来真正的去写磁盘,linux系统也会周期性的去sync数据。

    + - - + + \ No newline at end of file diff --git a/c/sysctl.html b/c/sysctl.html index 84b4800a3f..7256f89abd 100644 --- a/c/sysctl.html +++ b/c/sysctl.html @@ -10,7 +10,7 @@ sysctl 命令,Linux sysctl 命令详解:时动态地修改内核的运行参数 - Linux 命令搜索引擎 - +
    @@ -209,11 +209,12 @@ net.ipv4.icmp_echo_ignore_all = 编辑完成后,请执行以下命令使变动立即生效:

    /sbin/sysctl -p
     /sbin/sysctl -w net.ipv4.route.flush=1
    -
    +
    + + - - + + \ No newline at end of file diff --git a/c/systemctl.html b/c/systemctl.html index 9172c479b3..1c9a5a57bc 100644 --- a/c/systemctl.html +++ b/c/systemctl.html @@ -10,7 +10,7 @@ systemctl 命令,Linux systemctl 命令详解:系统服务管理器指令 - Linux 命令搜索引擎 - +
    @@ -124,11 +124,12 @@ systemctl list-units --type=service sudo systemctl status firewalld.service sudo systemctl stop firewalld.service           sudo systemctl disable firewalld.service - +
    + + - - + + \ No newline at end of file diff --git a/c/tac.html b/c/tac.html index c25afb0ae5..8acf4c6f4b 100644 --- a/c/tac.html +++ b/c/tac.html @@ -10,7 +10,7 @@ tac 命令,Linux tac 命令详解:连接多个文件并以行为单位反向打印到标准输出。 - Linux 命令搜索引擎 - +
    @@ -109,11 +109,12 @@
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 tacinfo coreutils 'tac invocation'
    2. 关于基础正则表达式(BRE)的内容,详见man -s 1 grepREGULAR EXPRESSIONS段落。
    3. -
    +
    + - - + + \ No newline at end of file diff --git a/c/tail.html b/c/tail.html index baff33aa6c..c3624a3d41 100644 --- a/c/tail.html +++ b/c/tail.html @@ -10,7 +10,7 @@ tail 命令,Linux tail 命令详解:在屏幕上显示指定文件的末尾若干行 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ tail -25 mail.log # 显示 mail.log 最后的 25 行 tail -f mail.log # 等同于--follow=descriptor,根据文件描述符进行追踪,当文件改名或被删除,追踪停止 tail -F mail.log # 等同于--follow=name --retry,根据文件名进行追踪,并保持重试,即该文件被删除或改名后,如果再次创建相同的文件名,会继续追踪 - +
    + - - + + \ No newline at end of file diff --git a/c/tailf.html b/c/tailf.html index 2496eedcac..f27128479a 100644 --- a/c/tailf.html +++ b/c/tailf.html @@ -10,7 +10,7 @@ tailf 命令,Linux tailf 命令详解:在屏幕上显示指定文件的末尾若干行内容,通常用于日志文件的跟踪输出 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 实例
    tailf log/WEB.LOG 
     tailf -n 5 log2014.log   # 显示文件最后5行内容
    -
    +
    + + - - + + \ No newline at end of file diff --git a/c/tar.html b/c/tar.html index f719e8721d..e704d9516c 100644 --- a/c/tar.html +++ b/c/tar.html @@ -10,7 +10,7 @@ tar 命令,Linux tar 命令详解:将许多文件一起保存至一个单独的磁带或磁盘归档,并能从归档中单独还原所需文件。 - Linux 命令搜索引擎 - +
    @@ -484,11 +484,12 @@ Main-class: the_name_of_the_main_class_should_be_put_here
    压 缩:tar -jcv -f filename.tar.bz2 要被压缩的文件或目录名称
     查 询:tar -jtv -f filename.tar.bz2
     解压缩:tar -jxv -f filename.tar.bz2 -C 欲解压缩的目录
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/tcpdump.html b/c/tcpdump.html index 23522f306d..50afea22fb 100644 --- a/c/tcpdump.html +++ b/c/tcpdump.html @@ -10,7 +10,7 @@ tcpdump 命令,Linux tcpdump 命令详解:一款sniffer工具,是Linux上的抓包工具,嗅探器 - Linux 命令搜索引擎 - +
    @@ -147,11 +147,12 @@

    如果本地网络通过网关连到了另一网络,则另一网络并不能算作本地网络。

    抓取80端口的HTTP报文,以文本形式展示:

    sudo tcpdump -i any port 80 -A
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/tcpreplay.html b/c/tcpreplay.html index 67d05a2583..f7235259cc 100644 --- a/c/tcpreplay.html +++ b/c/tcpreplay.html @@ -10,7 +10,7 @@ tcpreplay 命令,Linux tcpreplay 命令详解:将PCAP包重新发送,用于性能或者功能测试 - Linux 命令搜索引擎 - +
    @@ -115,11 +115,12 @@

    注意:我在测试的时候犯了一个错误,使用 DUT 的 tftp 升级来做实验,同时穿 过 DUT 重放报文,结果在网卡发送报文的后,DUT 的 mac 地址做了的回应,导致 交互过程没有穿过 DUT,这个问题比较搞笑,上午弄了半天才发现原因,开始还 以为 udp 的连接不能重放。 

    c、使用 tcpreplay 重放报文。 

    [root@A ~]# tcpreplay -c tftp.cache -i eth0 -j eth1 tftp.pcap –v
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/tee.html b/c/tee.html index 32c3c1fca6..0c1661c687 100644 --- a/c/tee.html +++ b/c/tee.html @@ -10,7 +10,7 @@ tee 命令,Linux tee 命令详解:从标准输入读取数据并重定向到标准输出和文件。 - Linux 命令搜索引擎 - +
    @@ -105,11 +105,12 @@ MODE决定了当出现写错误时的输出行为,可用的MODE如下:
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 teeinfo coreutils 'tee invocation'
    2. 存在缓存机制,每1024个字节将输出一次。若从管道接收输入数据,应该是缓冲区满,才将数据转存到指定的文件中。若文件内容不到1024个字节,则接收从标准输入设备读入的数据后,将刷新一次缓冲区,并转存数据到指定文件。
    3. -
    +
    + - - + + \ No newline at end of file diff --git a/c/telint.html b/c/telint.html index 0128101f60..5014673094 100644 --- a/c/telint.html +++ b/c/telint.html @@ -10,7 +10,7 @@ telint 命令,Linux telint 命令详解:切换当前正在运行系统的运行等级 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@

    参数

    -

    运行等级:指定要切换的运行等级。

    +

    运行等级:指定要切换的运行等级。

    + - - + + \ No newline at end of file diff --git a/c/telnet.html b/c/telnet.html index afde07dd8b..ce36a14f42 100644 --- a/c/telnet.html +++ b/c/telnet.html @@ -10,7 +10,7 @@ telnet 命令,Linux telnet 命令详解:登录远程主机和管理(测试ip端口是否连通) - Linux 命令搜索引擎 - +
    @@ -153,11 +153,12 @@ telnet 23/udp

    如果前面有#字符,就去掉它。telnet的默认端口是23,这个端口也是黑客端口扫描的主要对象,因此最好将这个端口修改掉,修改的方法很简单,就是将23这个数字修改掉,改成大一点的数字,比如61123。注意,1024以下的端口号是internet保留的端口号,因此最好不要用,还应该注意不要与其它服务的端口冲突。

    启动服务:

    service xinetd restart
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/tempfile.html b/c/tempfile.html index a89be10e9f..957fe8f2ba 100644 --- a/c/tempfile.html +++ b/c/tempfile.html @@ -10,7 +10,7 @@ tempfile 命令,Linux tempfile 命令详解:shell中给临时文件命名 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@

    如果没有tempfile命令的Linux发行版,也可以使用自己的临时文件名:

    temp_file_name="/tmp/file.$"
     
    -

    $是系统预定义变量,显示当前所在进程的进程号,用.$作为添加的后缀会被扩展成当前运行脚本的进程id。

    +

    $是系统预定义变量,显示当前所在进程的进程号,用.$作为添加的后缀会被扩展成当前运行脚本的进程id。

    + - - + + \ No newline at end of file diff --git a/c/test.html b/c/test.html index 001915ed63..738b9458e9 100644 --- a/c/test.html +++ b/c/test.html @@ -10,7 +10,7 @@ test 命令,Linux test 命令详解:执行条件表达式。 - Linux 命令搜索引擎 - +
    @@ -148,11 +148,12 @@ arg1 OP arg2 算术表达式测试; OP是 -eq,-ne,-lt,-le,-gt,-
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/tftp.html b/c/tftp.html index d94c72f7b6..ed5ba0cc38 100644 --- a/c/tftp.html +++ b/c/tftp.html @@ -10,7 +10,7 @@ tftp 命令,Linux tftp 命令详解:在本机和tftp服务器之间使用TFTP协议传输文件 - Linux 命令搜索引擎 - +
    @@ -159,11 +159,12 @@ tftp>q

    例如,要从远程主机192.168.1.2上下载 embedexpert,则应输入以下命令

    tftp -g -r embedexpert 192.168.1.2
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/time.html b/c/time.html index f8a3020754..8794be8afc 100644 --- a/c/time.html +++ b/c/time.html @@ -10,7 +10,7 @@ time 命令,Linux time 命令详解:统计给定命令所花费的总时间 - Linux 命令搜索引擎 - +
    @@ -151,11 +151,12 @@ sys 0m0.007s 进程被迫进行上下文切换的次数(由于时间片到期)。 - +
    + - - + + \ No newline at end of file diff --git a/c/times.html b/c/times.html index a198b09eb9..67d21661a7 100644 --- a/c/times.html +++ b/c/times.html @@ -10,7 +10,7 @@ times 命令,Linux times 命令详解:显示进程累计时间。 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/tload.html b/c/tload.html index 3b9b563646..0043628901 100644 --- a/c/tload.html +++ b/c/tload.html @@ -10,7 +10,7 @@ tload 命令,Linux tload 命令详解:显示系统负载状况 - Linux 命令搜索引擎 - +
    @@ -78,11 +78,12 @@ 0.04, 0.01, 0.00 0.04, 0.01,0.00 0.06, 0.02, 0.00 - +
    + - - + + \ No newline at end of file diff --git a/c/tmux.html b/c/tmux.html index 5af3af9deb..4ecd0ad116 100644 --- a/c/tmux.html +++ b/c/tmux.html @@ -10,7 +10,7 @@ tmux 命令,Linux tmux 命令详解:Tmux是一个优秀的终端复用软件,类似GNU Screen,但来自于OpenBSD,采用BSD授权 - Linux 命令搜索引擎 - +
    @@ -405,6 +405,7 @@ ctrl+b d # 脱离当前会话;这样可
    + - - + + \ No newline at end of file diff --git a/c/top.html b/c/top.html index 675743e61f..07a0c656ec 100644 --- a/c/top.html +++ b/c/top.html @@ -10,7 +10,7 @@ top 命令,Linux top 命令详解:显示或管理执行中的程序 - Linux 命令搜索引擎 - +
    @@ -128,11 +128,12 @@ Swap: 5144568k total, 56k used, 5144512k free, 2013180k cached
  • 56k used[使用的交换区总量],
  • 5144512k free[空闲交换区总量],
  • 2013180k cached[缓冲的交换区总量],
  • - +
    + - - + + \ No newline at end of file diff --git a/c/touch.html b/c/touch.html index a821ac171b..024fc929d9 100644 --- a/c/touch.html +++ b/c/touch.html @@ -10,7 +10,7 @@ touch 命令,Linux touch 命令详解:创建新的空文件 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ 实例
    touch ex2
     
    -

    在当前目录下建立一个空文件ex2,然后,利用ls -l命令可以发现文件ex2的大小为0,表示它是空文件。

    +

    在当前目录下建立一个空文件ex2,然后,利用ls -l命令可以发现文件ex2的大小为0,表示它是空文件。

    + - - + + \ No newline at end of file diff --git a/c/tput.html b/c/tput.html index e304c470ea..5ead61c4bf 100644 --- a/c/tput.html +++ b/c/tput.html @@ -10,7 +10,7 @@ tput 命令,Linux tput 命令详解:通过terminfo数据库对终端会话进行初始化和操作 - Linux 命令搜索引擎 - +
    @@ -211,11 +211,12 @@ tput sgr0 tput rc exit 0 - +
    + - - + + \ No newline at end of file diff --git a/c/tr.html b/c/tr.html index 0f9073abc0..929aa7ec49 100644 --- a/c/tr.html +++ b/c/tr.html @@ -10,7 +10,7 @@ tr 命令,Linux tr 命令详解:将字符进行替换压缩和删除 - Linux 命令搜索引擎 - +
    @@ -120,11 +120,12 @@ this is a text line.

    使用方式:

    tr '[:lower:]' '[:upper:]'
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/tracepath.html b/c/tracepath.html index 7402476ce2..09a88eeba9 100644 --- a/c/tracepath.html +++ b/c/tracepath.html @@ -10,7 +10,7 @@ tracepath 命令,Linux tracepath 命令详解:追踪目的主机经过的路由信息 - Linux 命令搜索引擎 - +
    @@ -84,11 +84,12 @@ 12: no reply 13: 211.151.111.30 (211.151.111.30) asymm 12 118.989ms reached Resume: pmtu 1500 hops 13 back 12 - +
    + - - + + \ No newline at end of file diff --git a/c/traceroute.html b/c/traceroute.html index 66a38e8d0b..d45bc0c9c7 100644 --- a/c/traceroute.html +++ b/c/traceroute.html @@ -10,7 +10,7 @@ traceroute 命令,Linux traceroute 命令详解:显示数据包到主机间的路径 - Linux 命令搜索引擎 - +
    @@ -126,11 +126,12 @@ traceroute -q 4 www.baidu.com # 把探测包的个数设置为值4 traceroute -r www.baidu.com # 绕过正常的路由表,直接发送到网络相连的主机 traceroute -w 3 www.baidu.com # 把对外发探测包的等待响应时间设置为3秒 - +
    + - - + + \ No newline at end of file diff --git a/c/trap.html b/c/trap.html index bbb06626f2..8c092306bc 100644 --- a/c/trap.html +++ b/c/trap.html @@ -10,7 +10,7 @@ trap 命令,Linux trap 命令详解:捕捉信号和其他事件并执行命令。 - Linux 命令搜索引擎 - +
    @@ -171,11 +171,12 @@
  • Linux Shell的信号trap功能你必须知道的细节
  • 阮一峰: Bash 脚本如何创建临时文件:mktemp 命令和 trap 命令教程
  • 【Bash百宝箱】shell内建命令之trap
  • - +
    + - - + + \ No newline at end of file diff --git a/c/tree.html b/c/tree.html index e27aae0d3d..c6acd82856 100644 --- a/c/tree.html +++ b/c/tree.html @@ -10,7 +10,7 @@ tree 命令,Linux tree 命令详解:树状图列出目录的内容 - Linux 命令搜索引擎 - +
    @@ -150,11 +150,12 @@ tree -L 2 > +
    + + - - + + \ No newline at end of file diff --git a/c/tty.html b/c/tty.html index 48d08691eb..ef8699e490 100644 --- a/c/tty.html +++ b/c/tty.html @@ -10,7 +10,7 @@ tty 命令,Linux tty 命令详解:显示连接到当前标准输入的终端设备文件名 - Linux 命令搜索引擎 - +
    @@ -87,11 +87,12 @@ 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 ttyinfo coreutils 'tty invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/type.html b/c/type.html index f38a0bb988..19a51c594c 100644 --- a/c/type.html +++ b/c/type.html @@ -10,7 +10,7 @@ type 命令,Linux type 命令详解:显示指定命令的类型。 - Linux 命令搜索引擎 - +
    @@ -161,11 +161,12 @@ keyword
  • 命令优先级问题请查看builtin命令。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/ulimit.html b/c/ulimit.html index 872745dc18..9f80461185 100644 --- a/c/ulimit.html +++ b/c/ulimit.html @@ -10,7 +10,7 @@ ulimit 命令,Linux ulimit 命令详解:控制shell程序的资源 - Linux 命令搜索引擎 - +
    @@ -100,11 +100,12 @@ cpu time (-u) 98304 #当前用户同时打开的进程(包括线程)的最大个数为98304。 virtual memory (kbytes, -v) unlimited #没有限制进程的最大地址空间。 file locks (-x) unlimited #所能锁住的文件的最大个数没有限制。 - +
    + + - - + + \ No newline at end of file diff --git a/c/umount.html b/c/umount.html index db2370d1da..35df11d4e7 100644 --- a/c/umount.html +++ b/c/umount.html @@ -10,7 +10,7 @@ umount 命令,Linux umount 命令详解:用于卸载已经加载的文件系统 - Linux 命令搜索引擎 - +
    @@ -100,11 +100,12 @@ umount: /mnt/mymount: device is busy

    延迟卸载(lazy unmount)会立即卸载目录树里的文件系统,等到设备不再繁忙时才清理所有相关资源。卸载可移动存储介质还可以用eject命令。下面这条命令会卸载cd并弹出CD:

    eject /dev/cdrom      卸载并弹出CD 
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/unalias.html b/c/unalias.html index 061a24d3a4..9095803222 100644 --- a/c/unalias.html +++ b/c/unalias.html @@ -10,7 +10,7 @@ unalias 命令,Linux unalias 命令详解:删除由alias设置的别名 - Linux 命令搜索引擎 - +
    @@ -112,11 +112,12 @@
  • 该命令是bash内建命令,相关的帮助信息请查看help命令。

  • - +
    + - - + + \ No newline at end of file diff --git a/c/uname.html b/c/uname.html index 4dcc62269f..7fa3785716 100644 --- a/c/uname.html +++ b/c/uname.html @@ -10,7 +10,7 @@ uname 命令,Linux uname 命令详解:打印系统信息。 - Linux 命令搜索引擎 - +
    @@ -125,11 +125,12 @@ GNU/Linux 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 unameinfo coreutils 'uname invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/unarj.html b/c/unarj.html index 49ba8ed4da..8b03504758 100644 --- a/c/unarj.html +++ b/c/unarj.html @@ -10,7 +10,7 @@ unarj 命令,Linux unarj 命令详解:解压缩由arj命令创建的压缩包 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ x:解压缩时保留原有的路径。

    参数

    -

    .arj压缩包:指定要解压缩的.arj压缩包。

    +

    .arj压缩包:指定要解压缩的.arj压缩包。

    + - - + + \ No newline at end of file diff --git a/c/uncompress.html b/c/uncompress.html index fb5ca12440..78e05fd6e5 100644 --- a/c/uncompress.html +++ b/c/uncompress.html @@ -10,7 +10,7 @@ uncompress 命令,Linux uncompress 命令详解:用来解压.Z文件 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    解压:

    uncompress FileName.Z
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/unexpand.html b/c/unexpand.html index 86d2756c23..bc06529e29 100644 --- a/c/unexpand.html +++ b/c/unexpand.html @@ -10,7 +10,7 @@ unexpand 命令,Linux unexpand 命令详解:将文件的空白字符转换为制表符 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@

    参数

    -

    文件:指定要转换空白为TAB的文件列表。

    +

    文件:指定要转换空白为TAB的文件列表。

    + - - + + \ No newline at end of file diff --git a/c/uniq.html b/c/uniq.html index d3484a7313..ccfd5cb278 100644 --- a/c/uniq.html +++ b/c/uniq.html @@ -10,7 +10,7 @@ uniq 命令,Linux uniq 命令详解:显示或忽略重复的行。 - Linux 命令搜索引擎 - +
    @@ -115,11 +115,12 @@
  • 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 uniqinfo coreutils 'uniq invocation'

  • - +
    + - - + + \ No newline at end of file diff --git a/c/unlink.html b/c/unlink.html index c7db50a95c..65bcb5ca15 100644 --- a/c/unlink.html +++ b/c/unlink.html @@ -10,7 +10,7 @@ unlink 命令,Linux unlink 命令详解:系统调用函数unlink去删除指定的文件 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:指定要删除的文件。

    +

    文件:指定要删除的文件。

    + - - + + \ No newline at end of file diff --git a/c/unprotoize.html b/c/unprotoize.html index 05ae06a5b9..aad3fff41a 100644 --- a/c/unprotoize.html +++ b/c/unprotoize.html @@ -10,7 +10,7 @@ unprotoize 命令,Linux unprotoize 命令详解:删除C语言源代码文件中的函数原型 - Linux 命令搜索引擎 - +
    @@ -67,11 +67,12 @@

    参数

    -

    文件:需要转换代码的C语言源文件。

    +

    文件:需要转换代码的C语言源文件。

    + - - + + \ No newline at end of file diff --git a/c/unrar.html b/c/unrar.html index 1902859ca7..976acf21ec 100644 --- a/c/unrar.html +++ b/c/unrar.html @@ -10,7 +10,7 @@ unrar 命令,Linux unrar 命令详解:解压rar文件命令,从 rar 压缩包中提取文件 - Linux 命令搜索引擎 - +
    @@ -125,6 +125,7 @@ x # 用绝对路径解压文件
    + - - + + \ No newline at end of file diff --git a/c/unset.html b/c/unset.html index 23d98590d3..a5395dcd92 100644 --- a/c/unset.html +++ b/c/unset.html @@ -10,7 +10,7 @@ unset 命令,Linux unset 命令详解:删除指定的shell变量或函数。 - Linux 命令搜索引擎 - +
    @@ -136,11 +136,12 @@ 注意
    1. 该命令是bash内建命令,相关的帮助信息请查看help命令。
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/unzip.html b/c/unzip.html index 2e52b8e008..012adfbe6c 100644 --- a/c/unzip.html +++ b/c/unzip.html @@ -10,7 +10,7 @@ unzip 命令,Linux unzip 命令详解:用于解压缩由zip命令压缩的压缩包 - Linux 命令搜索引擎 - +
    @@ -107,11 +107,12 @@

    解压指定文件,* 用作通配符。

    unzip test.zip "*.jpg"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/updatedb.html b/c/updatedb.html index fc6130fca0..d3b9bd9b46 100644 --- a/c/updatedb.html +++ b/c/updatedb.html @@ -10,7 +10,7 @@ updatedb 命令,Linux updatedb 命令详解:创建或更新slocate命令所必需的数据库文件 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@ 实例

    实用updatedb命令的-U选项可以指定要更新slocate数据库的目录。

    updatedb -U /usr/local/  更新指定命令的slocate数据库
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/uptime.html b/c/uptime.html index 7cd91c39ff..96d067b2cf 100644 --- a/c/uptime.html +++ b/c/uptime.html @@ -10,7 +10,7 @@ uptime 命令,Linux uptime 命令详解:查看Linux系统负载信息 - Linux 命令搜索引擎 - +
    @@ -81,11 +81,12 @@ load average: 0.00,

    那么什么是系统平均负载呢? 系统平均负载是指在特定时间间隔内运行队列中的平均进程数。

    如果每个CPU内核的当前活动进程数不大于3的话,那么系统的性能是良好的。如果每个CPU内核的任务数大于5,那么这台机器的性能有严重问题。

    -

    如果你的linux主机是1个双核CPU的话,当Load Average 为6的时候说明机器已经被充分使用了。

    +

    如果你的linux主机是1个双核CPU的话,当Load Average 为6的时候说明机器已经被充分使用了。

    + + - - + + \ No newline at end of file diff --git a/c/userdel.html b/c/userdel.html index 60fe91df44..ea1fe87af9 100644 --- a/c/userdel.html +++ b/c/userdel.html @@ -10,7 +10,7 @@ userdel 命令,Linux userdel 命令详解:用于删除给定的用户以及与用户相关的文件 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ userdel -r linuxde # 删除用户linuxde,其家目录及文件一并删除;

    请不要轻易用-r选项;他会删除用户的同时删除用户所有的文件和目录,切记如果用户目录下有重要的文件,在删除前请备份。

    -

    其实也有最简单的办法,但这种办法有点不安全,也就是直接在/etc/passwd中删除您想要删除用户的记录;但最好不要这样做,/etc/passwd是极为重要的文件,可能您一不小心会操作失误。

    +

    其实也有最简单的办法,但这种办法有点不安全,也就是直接在/etc/passwd中删除您想要删除用户的记录;但最好不要这样做,/etc/passwd是极为重要的文件,可能您一不小心会操作失误。

    + - - + + \ No newline at end of file diff --git a/c/usermod.html b/c/usermod.html index bf37c88aee..e9318d7fe4 100644 --- a/c/usermod.html +++ b/c/usermod.html @@ -10,7 +10,7 @@ usermod 命令,Linux usermod 命令详解:用于修改用户的基本信息 - Linux 命令搜索引擎 - +
    @@ -106,11 +106,12 @@ lutixiaya [root@node-1 ~]# ls /home/ [root@node-1 ~]# ls /data/ new_home - +
    + - - + + \ No newline at end of file diff --git a/c/usernetctl.html b/c/usernetctl.html index 20e78851d9..325df300d8 100644 --- a/c/usernetctl.html +++ b/c/usernetctl.html @@ -10,7 +10,7 @@ usernetctl 命令,Linux usernetctl 命令详解:被允许时操作指定的网络接口 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@
  • up:激活网络接口;
  • down:禁用网络接口;
  • report:报告网络接口状态。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/users.html b/c/users.html index 88b7afec63..2fe44573b7 100644 --- a/c/users.html +++ b/c/users.html @@ -10,7 +10,7 @@ users 命令,Linux users 命令详解:打印当前主机所有登陆用户的名称。 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@ root root 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 usersinfo coreutils 'users invocation'
    2. -
    +
    + - - + + \ No newline at end of file diff --git a/c/uucico.html b/c/uucico.html index 4c395e182d..3ee0f50a63 100644 --- a/c/uucico.html +++ b/c/uucico.html @@ -10,7 +10,7 @@ uucico 命令,Linux uucico 命令详解:UUCP文件传输服务程序 - Linux 命令搜索引擎 - +
    @@ -86,11 +86,12 @@

    使用主动模式启动uucico服务。在命令提示符下直接输入如下命令:

    uucico-r1
     
    -

    提示:该命令一般没有输出。

    +

    提示:该命令一般没有输出。

    + - - + + \ No newline at end of file diff --git a/c/uupick.html b/c/uupick.html index 9c7105e779..eb5a56acf3 100644 --- a/c/uupick.html +++ b/c/uupick.html @@ -10,7 +10,7 @@ uupick 命令,Linux uupick 命令详解:命令处理传送进来的文件 - Linux 命令搜索引擎 - +
    @@ -72,11 +72,12 @@

    处理由主机localhost传送过来的文件。在命令行直接输入如下命令:

    uupick-s localhost
     
    -

    该命令通常没有输出。

    +

    该命令通常没有输出。

    + - - + + \ No newline at end of file diff --git a/c/uuto.html b/c/uuto.html index 2c2600cae9..eab417810f 100644 --- a/c/uuto.html +++ b/c/uuto.html @@ -10,7 +10,7 @@ uuto 命令,Linux uuto 命令详解:将文件传送到远端的UUCP主机 - Linux 命令搜索引擎 - +
    @@ -64,11 +64,12 @@

    将文件传送到远程 UUCP 主机 localhost 的 tmp 目录,在命令提示符中直接输入如下命令:

    uuto./testfile localhost/tmp # 将文件传送到远程UUCP 主机localhost的tmp目录 
     
    -

    该命令通常没有输出。

    +

    该命令通常没有输出。

    + - - + + \ No newline at end of file diff --git a/c/vdfuse.html b/c/vdfuse.html index e21edc20f4..3088055bee 100644 --- a/c/vdfuse.html +++ b/c/vdfuse.html @@ -10,7 +10,7 @@ vdfuse 命令,Linux vdfuse 命令详解:VirtualBox软件挂载VDI分区文件工具 - Linux 命令搜索引擎 - +
    @@ -88,11 +88,12 @@

    /path/to/mountpoint应该包含如下文件EntireDisk、Partition1等,如果只有一个文件,你可能需要这样挂载:

    mount /path/to/mountpoint/Partition1 /path/to/someother/mountpoint
     
    -

    文件系统就挂载到/path/to/someother/mountpoint了。

    +

    文件系统就挂载到/path/to/someother/mountpoint了。

    + - - + + \ No newline at end of file diff --git a/c/vgchange.html b/c/vgchange.html index def9df5541..ceb77878d2 100644 --- a/c/vgchange.html +++ b/c/vgchange.html @@ -10,7 +10,7 @@ vgchange 命令,Linux vgchange 命令详解:修改卷组属性 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@

    输出信息如下:

    1 logical volume(s) in volume group "vg1000" now active
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgconvert.html b/c/vgconvert.html index aad5a8d3ec..55c47b9e8d 100644 --- a/c/vgconvert.html +++ b/c/vgconvert.html @@ -10,7 +10,7 @@ vgconvert 命令,Linux vgconvert 命令详解:转换卷组元数据格式 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@ Volume group vg1000 successfully converted

    使用vgchange命令将卷组设置为活动状态。在命令行中输入下面的命令:

    [root@localhost lvm]# vgchange -ay vg1000     #设置卷组状态为活动状态
     0 logical volume(s) in volume group "vg1000" now active
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgcreate.html b/c/vgcreate.html index a0cfdac8da..5905f137a3 100644 --- a/c/vgcreate.html +++ b/c/vgcreate.html @@ -10,7 +10,7 @@ vgcreate 命令,Linux vgcreate 命令详解:用于创建LVM卷组 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@

    输出信息如下:

    Volume group "vg1000" successfully created
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgdisplay.html b/c/vgdisplay.html index 9547a1f53e..5538f92874 100644 --- a/c/vgdisplay.html +++ b/c/vgdisplay.html @@ -10,7 +10,7 @@ vgdisplay 命令,Linux vgdisplay 命令详解:显示LVM卷组的信息 - Linux 命令搜索引擎 - +
    @@ -80,11 +80,12 @@ ......省略部分输出内容...... free PE / Size 50 / 200.00 MB VG UUID ICprwg-ZmhA-JKYF-WYuy-jNHa-AyCN-ZS5F7B - +
    + - - + + \ No newline at end of file diff --git a/c/vgextend.html b/c/vgextend.html index 64547b2055..7e138a9972 100644 --- a/c/vgextend.html +++ b/c/vgextend.html @@ -10,7 +10,7 @@ vgextend 命令,Linux vgextend 命令详解:向卷组中添加物理卷 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@

    输出信息如下:

    Volume group "vg2000" successfully extended
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgreduce.html b/c/vgreduce.html index 81be2fa9d8..071ca5cb21 100644 --- a/c/vgreduce.html +++ b/c/vgreduce.html @@ -10,7 +10,7 @@ vgreduce 命令,Linux vgreduce 命令详解:从卷组中删除物理卷 - Linux 命令搜索引擎 - +
    @@ -79,11 +79,12 @@

    输出信息如下:

    Removed "/dev/sdb2" from volume group "vg2000"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgremove.html b/c/vgremove.html index 0900283a1c..a748628f01 100644 --- a/c/vgremove.html +++ b/c/vgremove.html @@ -10,7 +10,7 @@ vgremove 命令,Linux vgremove 命令详解:用于用户删除LVM卷组 - Linux 命令搜索引擎 - +
    @@ -73,11 +73,12 @@

    使用vgremove命令删除LVM卷组"vg1000"。在命令行中输入下面的命令:

    [root@localhost ~]# vgremove vg1000    #删除卷组"vg1000"
     Volume group "vg1000" successfully removed
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgrename.html b/c/vgrename.html index 62fcb6355c..88fb774a83 100644 --- a/c/vgrename.html +++ b/c/vgrename.html @@ -10,7 +10,7 @@ vgrename 命令,Linux vgrename 命令详解:使用vgrename命令可以重命名卷组的名称 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@

    重命名卷组vg1为vg2。

    [root@localhost ~]# vgrename vg1 vg2
       Volume group "vg1" successfully renamed to "vg2"
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/vgscan.html b/c/vgscan.html index cc8f0b07f2..6c67a8d5b8 100644 --- a/c/vgscan.html +++ b/c/vgscan.html @@ -10,7 +10,7 @@ vgscan 命令,Linux vgscan 命令详解:扫描并显示系统中的卷组 - Linux 命令搜索引擎 - +
    @@ -74,11 +74,12 @@
    Found volume group "vg2000" using metadata type lvm2  
     Found volume group "vg1000" using metadata type lvm2 
     
    -

    说明:本例中,vgscan指令找到了两个LVM2卷组"vg1000"和"vg2000"。

    +

    说明:本例中,vgscan指令找到了两个LVM2卷组"vg1000"和"vg2000"。

    + + - - + + \ No newline at end of file diff --git a/c/vmstat.html b/c/vmstat.html index ace38c4f41..07632c1d95 100644 --- a/c/vmstat.html +++ b/c/vmstat.html @@ -10,7 +10,7 @@ vmstat 命令,Linux vmstat 命令详解:显示虚拟内存状态 - Linux 命令搜索引擎 - +
    @@ -135,11 +135,12 @@ procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----

    wa的值高时,说明IO等待比较严重,这可能由于磁盘大量作随机访问造成,也有可能磁盘出现瓶颈(块操作)。

    +
    + - - + + \ No newline at end of file diff --git a/c/volname.html b/c/volname.html index 79cad039d2..4096eea671 100644 --- a/c/volname.html +++ b/c/volname.html @@ -10,7 +10,7 @@ volname 命令,Linux volname 命令详解:显示指定的ISO-9660格式的设备的卷名称 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    设备文件名:指定要显示卷名称的设备。

    +

    设备文件名:指定要显示卷名称的设备。

    + - - + + \ No newline at end of file diff --git a/c/w.html b/c/w.html index c7e6f0e5c4..e1fb87e1c8 100644 --- a/c/w.html +++ b/c/w.html @@ -10,7 +10,7 @@ w 命令,Linux w 命令详解:显示目前登入系统的用户信息 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@ 20:39:37 up 136 days, 3:58, 1 user, load average: 0.00, 0.00, 0.00 USER TTY FROM login@ IDLE JCPU PCPU WHAT root pts/0 222.94.97.122 20:39 1.00s 0.00s 0.00s w - +
    + + - - + + \ No newline at end of file diff --git a/c/wall.html b/c/wall.html index fdd113e66d..c148634263 100644 --- a/c/wall.html +++ b/c/wall.html @@ -10,7 +10,7 @@ wall 命令,Linux wall 命令详解:向系统当前所有打开的终端上输出信息 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@ Broadcast message from root (pts/1) (Fri Dec 20 11:36:51 2013): this is a test line - +
    + - - + + \ No newline at end of file diff --git a/c/watch.html b/c/watch.html index 17d159e642..6848782993 100644 --- a/c/watch.html +++ b/c/watch.html @@ -10,7 +10,7 @@ watch 命令,Linux watch 命令详解:可以将命令的输出结果输出到标准输出设备,多用于周期性执行命令/定时执行命令 - Linux 命令搜索引擎 - +
    @@ -86,11 +86,12 @@ watch -n 60 from # 监控mail watch -n 1 "df -i;df" # 监测磁盘inode和block数目变化情况 -

    FreeBSD和Linux下watch命令的不同,在Linux下,watch是周期性的执行下个程序,并全屏显示执行结果,如:watch -n 1 -d netstat -ant,而在FreeBSD下的watch命令是查看其它用户的正在运行的操作,watch允许你偷看其它terminal正在做什么,该命令只能让超级用户使用。

    +

    FreeBSD和Linux下watch命令的不同,在Linux下,watch是周期性的执行下个程序,并全屏显示执行结果,如:watch -n 1 -d netstat -ant,而在FreeBSD下的watch命令是查看其它用户的正在运行的操作,watch允许你偷看其它terminal正在做什么,该命令只能让超级用户使用。

    + - - + + \ No newline at end of file diff --git a/c/wc.html b/c/wc.html index bc17469431..6de88179dd 100644 --- a/c/wc.html +++ b/c/wc.html @@ -10,7 +10,7 @@ wc 命令,Linux wc 命令详解:统计文件的字节数、字数、行数 - Linux 命令搜索引擎 - +
    @@ -111,11 +111,12 @@ wc: node_modules: read: Is a directory 79 package.json 3 renovate.json 24786 total - +
    + - - + + \ No newline at end of file diff --git a/c/wget.html b/c/wget.html index f5abb2a395..8f9f44be8f 100644 --- a/c/wget.html +++ b/c/wget.html @@ -10,7 +10,7 @@ wget 命令,Linux wget 命令详解:Linux系统下载文件工具 - Linux 命令搜索引擎 - +
    @@ -293,11 +293,12 @@ url4

    使用wget用户名和密码认证的ftp下载:

    wget --ftp-user=USERNAME --ftp-password=PASSWORD url
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/whatis.html b/c/whatis.html index 0f3966a7db..295c1e54b2 100644 --- a/c/whatis.html +++ b/c/whatis.html @@ -10,7 +10,7 @@ whatis 命令,Linux whatis 命令详解:查询一个命令执行什么功能 - Linux 命令搜索引擎 - +
    @@ -83,11 +83,12 @@ man (rpm) - A set of documentation tools: man, apropos and whatis. man-pages (rpm) - Man (manual) pages from the Linux Documentation Project. man.config [man] (5) - configuration data for man - +
    + + - - + + \ No newline at end of file diff --git a/c/which.html b/c/which.html index 000ae2ef00..3045c8efb0 100644 --- a/c/which.html +++ b/c/which.html @@ -10,7 +10,7 @@ which 命令,Linux which 命令详解:查找并显示给定命令的绝对路径 - Linux 命令搜索引擎 - +
    @@ -85,11 +85,12 @@
    [root@localhost ~]# which cd
     cd: shell built-in command
     
    -

    cd 这个常用的命令竟然找不到啊!为什么呢?这是因为 cd 是bash 内建的命令! 但是 which 默认是找 PATH 内所规范的目录,所以当然一定找不到的!

    +

    cd 这个常用的命令竟然找不到啊!为什么呢?这是因为 cd 是bash 内建的命令! 但是 which 默认是找 PATH 内所规范的目录,所以当然一定找不到的!

    + - - + + \ No newline at end of file diff --git a/c/who.html b/c/who.html index a941c5e94a..a4b32b0460 100644 --- a/c/who.html +++ b/c/who.html @@ -10,7 +10,7 @@ who 命令,Linux who 命令详解:显示当前所有登陆用户的信息。 - Linux 命令搜索引擎 - +
    @@ -119,11 +119,12 @@ root + pts/1 2013-12-20 注意
    1. 该命令是GNU coreutils包中的命令,相关的帮助信息请查看man -s 1 whoinfo coreutils 'who invocation'
    2. -
    +
    + + - - + + \ No newline at end of file diff --git a/c/write.html b/c/write.html index bd165fb84e..af56326135 100644 --- a/c/write.html +++ b/c/write.html @@ -10,7 +10,7 @@ write 命令,Linux write 命令详解:向指定登录用户终端上发送信息 - Linux 命令搜索引擎 - +
    @@ -75,11 +75,12 @@
    write Rollaend pts/2
     

    接下来就是将信息打上去,结束请Ctrl+C:

    -

    若对方设定mesg n,则此时信息将无法传给对方。

    +

    若对方设定mesg n,则此时信息将无法传给对方。

    + - - + + \ No newline at end of file diff --git a/c/xargs.html b/c/xargs.html index 2e340b74b8..9911bde9ff 100644 --- a/c/xargs.html +++ b/c/xargs.html @@ -10,7 +10,7 @@ xargs 命令,Linux xargs 命令详解:给其他命令传递参数的一个过滤器 - Linux 命令搜索引擎 - +
    @@ -217,6 +217,7 @@ COMMAND7
    + - - + + \ No newline at end of file diff --git a/c/xauth.html b/c/xauth.html index e7fe79c2e3..e92df5c3ce 100644 --- a/c/xauth.html +++ b/c/xauth.html @@ -10,7 +10,7 @@ xauth 命令,Linux xauth 命令详解:显示和编辑被用于连接X服务器的认证信息 - Linux 命令搜索引擎 - +
    @@ -82,11 +82,12 @@
  • nmerge:合并多个授权文件内容;
  • remove:删除指定显示设备的授权条目;
  • source:从指定文件读取包含xauth的内容指令。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/xclip.html b/c/xclip.html index 9943cc9cac..4ee3552ce4 100644 --- a/c/xclip.html +++ b/c/xclip.html @@ -10,7 +10,7 @@ xclip 命令,Linux xclip 命令详解:管理 X 粘贴板 - Linux 命令搜索引擎 - +
    @@ -60,11 +60,12 @@

    比如如下命令就把文件 /etc/passwd 的内容复制到 X master selections 里面了。

    xclip -i /etc/passwd
     
    -

    然后到别的地方就能复制出来,利用鼠标中键。或者是更舒服的 shift+insert。 我现在最常用的方法是通过键盘绑定来管理 X master selections 的内容。比如 alt+F1 就能把我的 ~/f1 的内容复制到 X master selections,alt+F2 复制 ~/f2 的内容。这样就能把你需要经常用到的内容方便的进行复制粘贴。比如常用的密码啥的。

    +

    然后到别的地方就能复制出来,利用鼠标中键。或者是更舒服的 shift+insert。 我现在最常用的方法是通过键盘绑定来管理 X master selections 的内容。比如 alt+F1 就能把我的 ~/f1 的内容复制到 X master selections,alt+F2 复制 ~/f2 的内容。这样就能把你需要经常用到的内容方便的进行复制粘贴。比如常用的密码啥的。

    + - - + + \ No newline at end of file diff --git a/c/xhost.html b/c/xhost.html index 86d666e568..c5e11ef8d5 100644 --- a/c/xhost.html +++ b/c/xhost.html @@ -10,7 +10,7 @@ xhost 命令,Linux xhost 命令详解:制哪些X客户端能够在X服务器上显示 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@

    为了安全起见,只能从控制主机运行影响访问控制的选项。对于工作站来说,这台机器也就是服务器。对于X终端来说,这台机器是登录主机。

    要在缺省情况下启用远程名称,可以在/etc/X?.hosts文件中定义名称,其中?为启用访问的显示器号。

    例如,显示器jeanne:0可以由使用jeanne的缺省主机名的系统上的/etc/X0.hosts文件中定义的系统访问。在显示名称和文件名中,0表明已定义的远程系统允许通过增强X-Windows访问的显示器号。

    -

    注意:-name参数,定义要从X服务器访问列表中除去的主机名。已有的连接没有被中断,但将拒绝新的连接请求。注意:可以除去当前的机器;然而,不允许进行进一步的连接(包括试图将其添加回来)。再一次启用本地连接的唯一方法就是将服务器复位(因此也会中断所有连接)。

    +

    注意:-name参数,定义要从X服务器访问列表中除去的主机名。已有的连接没有被中断,但将拒绝新的连接请求。注意:可以除去当前的机器;然而,不允许进行进一步的连接(包括试图将其添加回来)。再一次启用本地连接的唯一方法就是将服务器复位(因此也会中断所有连接)。

    + - - + + \ No newline at end of file diff --git a/c/xinit.html b/c/xinit.html index dfd8f0a17f..9c99053811 100644 --- a/c/xinit.html +++ b/c/xinit.html @@ -10,7 +10,7 @@ xinit 命令,Linux xinit 命令详解:是Linux下X-Window系统的初始化程序 - Linux 命令搜索引擎 - +
    @@ -65,11 +65,12 @@
  • 客户端选项:客户端指令及选项;
  • --:用于区分客户端选项和服务器端选项;
  • 服务器端选项:服务器端选项指令及选项。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/xlsatoms.html b/c/xlsatoms.html index b7feffe8df..8fcdbb35ec 100644 --- a/c/xlsatoms.html +++ b/c/xlsatoms.html @@ -10,7 +10,7 @@ xlsatoms 命令,Linux xlsatoms 命令详解:列出X服务器内部所有定义的原子成分 - Linux 命令搜索引擎 - +
    @@ -66,11 +66,12 @@
  • -format<输出格式>:设置成分清单的列表格式,您可使用控制字符改变显示样式;
  • -name<成分名称>:列出指定的成分;
  • -range<列表范围>:设置成分清单的列表范围。
  • - +
    + - - + + \ No newline at end of file diff --git a/c/xlsclients.html b/c/xlsclients.html index 042add0343..ff97df6ec3 100644 --- a/c/xlsclients.html +++ b/c/xlsclients.html @@ -10,7 +10,7 @@ xlsclients 命令,Linux xlsclients 命令详解:列出显示器中的客户端应用程序 - Linux 命令搜索引擎 - +
    @@ -65,11 +65,12 @@ -display<显示器编号>:指定X Server连接的显示器编号,该编号由"0"开始计算,依序递增; -l:使用详细格式列表; -m<最大指令长度>:设置显示指令信息的最大长度,单位以字符计算。 - +
    + - - + + \ No newline at end of file diff --git a/c/xlsfonts.html b/c/xlsfonts.html index e009bb34ad..3ca1dc8d30 100644 --- a/c/xlsfonts.html +++ b/c/xlsfonts.html @@ -10,7 +10,7 @@ xlsfonts 命令,Linux xlsfonts 命令详解:列出X Server使用的字体 - Linux 命令搜索引擎 - +
    @@ -69,11 +69,12 @@ -o:以OpenFont的形式列出字体清单; -u:列出字体清单时不依照其名称排序; -w<每列字符数>:设置每列的最大字符数。 - +
    + - - + + \ No newline at end of file diff --git a/c/xset.html b/c/xset.html index 13960df2c4..0c38a42230 100644 --- a/c/xset.html +++ b/c/xset.html @@ -10,7 +10,7 @@ xset 命令,Linux xset 命令详解:设置X-Window系统中的用户爱好的实用工具 - Linux 命令搜索引擎 - +
    @@ -70,11 +70,12 @@ +
    + - - + + \ No newline at end of file diff --git a/c/xz.html b/c/xz.html index 5b9291649a..d7ba0c4e9f 100644 --- a/c/xz.html +++ b/c/xz.html @@ -10,7 +10,7 @@ xz 命令,Linux xz 命令详解:POSIX 平台开发具有高压缩率的工具 - Linux 命令搜索引擎 - +
    @@ -125,6 +125,7 @@ $ xz -k --fast xz_pipe_decomp_mini.c
    + - - + + \ No newline at end of file diff --git a/c/yes.html b/c/yes.html index 0dabd19d65..115364d2d8 100644 --- a/c/yes.html +++ b/c/yes.html @@ -10,7 +10,7 @@ yes 命令,Linux yes 命令详解:重复打印指定字符串 - Linux 命令搜索引擎 - +
    @@ -76,11 +76,12 @@ testline testline testline ...一直重复打印 testline,按Ctrl+C结束。 - +
    + - - + + \ No newline at end of file diff --git a/c/ypdomainname.html b/c/ypdomainname.html index 4deab8c229..8d6bd8447f 100644 --- a/c/ypdomainname.html +++ b/c/ypdomainname.html @@ -10,7 +10,7 @@ ypdomainname 命令,Linux ypdomainname 命令详解:显示主机的NIS的域名 - Linux 命令搜索引擎 - +
    @@ -62,11 +62,12 @@ 选项
    -v:详细信息模式。
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/yum.html b/c/yum.html index 470e27512b..a9008c2060 100644 --- a/c/yum.html +++ b/c/yum.html @@ -10,7 +10,7 @@ yum 命令,Linux yum 命令详解:基于RPM的软件包管理器 - Linux 命令搜索引擎 - +
    @@ -149,11 +149,12 @@ yum makecache LANG=C # 原始语言 LANG=zh_CN.utf8 # 切换到中文 yum groupinstall "Chinese Support" # 添加中文语言支持 - +
    + + - - + + \ No newline at end of file diff --git a/c/zfore.html b/c/zfore.html index 4a0222605f..fc6ebcc8f1 100644 --- a/c/zfore.html +++ b/c/zfore.html @@ -10,7 +10,7 @@ zfore 命令,Linux zfore 命令详解:强制为gzip格式的压缩文件添加.gz后缀 - Linux 命令搜索引擎 - +
    @@ -61,11 +61,12 @@

    参数

    -

    文件列表:指定要添加“.gz”后缀的gzip压缩文件。

    +

    文件列表:指定要添加“.gz”后缀的gzip压缩文件。

    + - - + + \ No newline at end of file diff --git a/c/zip.html b/c/zip.html index bd846e1dbb..77a12a6a56 100644 --- a/c/zip.html +++ b/c/zip.html @@ -10,7 +10,7 @@ zip 命令,Linux zip 命令详解:可以用来解压缩文件 - Linux 命令搜索引擎 - +
    @@ -141,11 +141,12 @@

    解决方法

    yum install -y unzip zip
    -
    +
    + - - + + \ No newline at end of file diff --git a/c/zipinfo.html b/c/zipinfo.html index 3b9a0fa5fd..4f03c9391e 100644 --- a/c/zipinfo.html +++ b/c/zipinfo.html @@ -10,7 +10,7 @@ zipinfo 命令,Linux zipinfo 命令详解:用来列出压缩文件信息 - Linux 命令搜索引擎 - +
    @@ -77,11 +77,12 @@

    参数

    -

    文件:指定zip格式的压缩包。

    +

    文件:指定zip格式的压缩包。

    + - - + + \ No newline at end of file diff --git a/c/zipsplit.html b/c/zipsplit.html index 3d3591015d..7e371f8262 100644 --- a/c/zipsplit.html +++ b/c/zipsplit.html @@ -10,7 +10,7 @@ zipsplit 命令,Linux zipsplit 命令详解:将较大的zip压缩包分割成各个较小的压缩包 - Linux 命令搜索引擎 - +
    @@ -68,11 +68,12 @@

    参数

    -

    文件:指定要分割的zip压缩包。

    +

    文件:指定要分割的zip压缩包。

    + - - + + \ No newline at end of file diff --git a/c/znew.html b/c/znew.html index 856f1ae05e..18c58fe841 100644 --- a/c/znew.html +++ b/c/znew.html @@ -10,7 +10,7 @@ znew 命令,Linux znew 命令详解:将.Z压缩包重新转化为gzip命令压缩的.gz压缩包 - Linux 命令搜索引擎 - +
    @@ -71,11 +71,12 @@

    参数

    -

    文件:指定compress指令压缩生成的“.Z”压缩包。

    +

    文件:指定compress指令压缩生成的“.Z”压缩包。

    + - - + + \ No newline at end of file diff --git a/hot.html b/hot.html index 80efc582ba..0d1df7e8f4 100644 --- a/hot.html +++ b/hot.html @@ -10,7 +10,7 @@ 搜索 命令,Linux 搜索 命令详解:最专业的Linux命令大全,命令搜索引擎,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。 - Linux 命令搜索引擎 - +
    @@ -1187,6 +1187,7 @@
    + - - + + \ No newline at end of file diff --git a/index.html b/index.html index e7f04ceb7c..7d0c17179d 100644 --- a/index.html +++ b/index.html @@ -10,7 +10,7 @@ Linux命令搜索引擎 命令,Linux Linux命令搜索引擎 命令详解:最专业的Linux命令大全,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。 - Linux 命令搜索引擎 - +
    @@ -30,6 +30,7 @@
    + - - + + \ No newline at end of file diff --git a/linux-command.docset.zip b/linux-command.docset.zip index 556b1945c0..3a93b6acd9 100644 Binary files a/linux-command.docset.zip and b/linux-command.docset.zip differ diff --git a/list.html b/list.html index 85ec7ae976..089f582b40 100644 --- a/list.html +++ b/list.html @@ -10,7 +10,7 @@ 搜索 命令,Linux 搜索 命令详解:最专业的Linux命令大全,命令搜索引擎,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。 - Linux 命令搜索引擎 - +
    @@ -40,6 +40,7 @@
    + - - + + \ No newline at end of file