<?xml version="1.0" encoding="gb2312"?>
<rss version="2.0">
<channel>
<title>SHELL编程</title>
<link>/plus/list.php?tid=63</link>
<description>linux / Linux编程 / SHELL编程</description>
<language>zh-cn</language>
<generator>www.linuxmine.net.cn -- 全球中文linux门户</generator>
<webmaster>admin@youremail.com</webmaster>
<item>
    <title>对话 UNIX: 更多 shell 脚本技术</title>
    <link>/html/linux/SHELL/20081120/72307.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; 与其他 UNIX 操作系统和 Linux 一样，IBM? AIX? 操作系统提供了几种能够帮助系统管理员、开发人员和用户执行日常任务的强大工具，使他们或其客户的工作更轻松。在 UNIX 中，这些工具之一能够通过编写 shell 脚本来自动执行任务，从而简化那些困难</description>
    <pubDate>2008-11-20</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Ubuntu单网卡架设VPN并NAT共享上网办法</title>
    <link>/html/linux/SHELL/20081109/71994.html</link>
    <description>服务器使用shorewall作为防火墙，实际上shorewall只是作为iptables的一个配置程序而已，实际上防火墙还是iptables。首先是建立VPN，使用软件包PPTPD，这样做的好处是方便认证，也支持windows，安全性不如openvpn，但是简单实用。服务器环境：OS：ubuntu server 8.04.1</description>
    <pubDate>2008-11-09</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux shell编程之awk与sed使用详解</title>
    <link>/html/linux/SHELL/20081031/71381.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; Linux shell编程之awk的用法&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. awk的使用&amp;nbsp;&amp;nbsp;&amp;nbsp; 基本功能：在文件或字符串中基于指定规则浏览和抽取信息。awk抽取信息後，才能进行其他文本操作。完整的awk脚本通常用来格式化文本文件信息。&amp;nbsp;&amp;nbsp;&amp;nbsp; 调</description>
    <pubDate>2008-10-31</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>终极Shell——Zsh</title>
    <link>/html/linux/SHELL/20081020/71037.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; 子曾经曰过，zsh: The last shell you’ll ever need!&amp;nbsp;&amp;nbsp;&amp;nbsp; Z是最后一个字母，所以它是终极Shell。&amp;nbsp;&amp;nbsp;&amp;nbsp; 我曾经搜索到一个比较各种Shell的文章，Zsh交互性是A+级别的，远高于其它Shell。在编程方面，Zsh是A级的吧，也是</description>
    <pubDate>2008-10-20</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>不曾用过的shell组合控制键</title>
    <link>/html/linux/SHELL/20081008/70557.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; 用了很久的linux，今天才发现有几个有用的shell组合控制键从来都没有用到过。&amp;nbsp;&amp;nbsp;&amp;nbsp; ^Z 暂停目前的命令&amp;nbsp;&amp;nbsp;&amp;nbsp; ^S 暂停屏幕输出&amp;nbsp;&amp;nbsp;&amp;nbsp; ^Q 恢复屏幕输出&amp;nbsp;&amp;nbsp;&amp;nbsp; ^U 将命令列整列删除&amp;nbsp;&amp;nbsp;&amp;nb</description>
    <pubDate>2008-10-08</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>编写包含图形界面的shell脚本：Zenity介绍</title>
    <link>/html/linux/SHELL/20080902/68615.html</link>
    <description>欢迎进入Linux社区论坛，  &amp;nbsp;&amp;nbsp;&amp;nbsp; Linux作为桌面系统正在越来越多的受人关注。为了改善用户体验，很多的程序员付出了大量的努力，不只是为了让普通用户得到更容易从Windows上迁移到Linux上，同时也为传统的系统管理员提供了更多的方便。&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
    <pubDate>2008-09-02</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Korn Shell 脚本入门</title>
    <link>/html/linux/SHELL/20080822/68358.html</link>
    <description>欢迎进入Linux社区论坛，  &amp;nbsp;&amp;nbsp;&amp;nbsp; 所有的 UNIX? 用户都应该了解如何使用 Korn Shell 脚本。通过编写 Shell 脚本，可以让您实现许多任务的自动化，并可以为您节约大量的时间。初看起来，它似乎令人生畏，但只要遵循正确的指导，您就可以熟练地使用它。本文将</description>
    <pubDate>2008-08-22</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>dsh：分布式 shell</title>
    <link>/html/linux/SHELL/20080821/68328.html</link>
    <description>欢迎进入Linux社区论坛，  &amp;nbsp;&amp;nbsp;&amp;nbsp; dsh 简单说来就是可以同时通过 ssh 来控制多台机器。&amp;nbsp;&amp;nbsp;&amp;nbsp; 在 dsh 的配置文件里面可以把机器分组，然后在 dsh 的选项里面指定对那个组进行操作，比如&amp;nbsp;&amp;nbsp;&amp;nbsp; dsh -g www -c “w”&amp;nbsp;&amp;nbsp;&amp;nbs</description>
    <pubDate>2008-08-21</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux操作系统Shell基础知识</title>
    <link>/html/linux/SHELL/20080730/67663.html</link>
    <description>欢迎进入Linux社区论坛，与200万技术人员互动交流  &gt;&gt;进入&amp;nbsp;&amp;nbsp;&amp;nbsp; ◆Shell基础知识&amp;nbsp;&amp;nbsp;&amp;nbsp; 1、cat /etc/shells&amp;nbsp;&amp;nbsp;&amp;nbsp; 查看计算机上可用的shell&amp;nbsp;&amp;nbsp;&amp;nbsp; 2、编写shell，保存为firstscript&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #! /bin/</description>
    <pubDate>2008-07-30</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Shell基础学习：关于Wget命令的使用技巧</title>
    <link>/html/linux/SHELL/20080626/67170.html</link>
    <description>wget 是一个命令行的下载工具。对于我们这些 Linux 用户来说，几乎每天都在使用它。下面为大家介绍几个有用的 wget 小技巧，可以让你更加高效而灵活的使用 wget。 $ wget -r -np -nd http://example.com/packages/ 这条命令可以下载 http://example.com 网站上 packages</description>
    <pubDate>2008-06-26</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>shell程序设计的语法</title>
    <link>/html/linux/SHELL/20080619/67042.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; 自己最近研究了一下shell程序设计,我将对它的理解分享给大家.&amp;nbsp;&amp;nbsp;&amp;nbsp; shell变量的特点：&amp;nbsp;&amp;nbsp;&amp;nbsp; shell变量使用之前不需要事先对它进行声明，在第一次使用它的时侯创建它。&amp;nbsp;&amp;nbsp;&amp;nbsp; shell变量默认情况下，它是作为保</description>
    <pubDate>2008-06-19</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>筛选和分组：SQL、Linux 脚本与Ruby 之比较</title>
    <link>/html/linux/SHELL/20080615/66937.html</link>
    <description>&amp;nbsp;&amp;nbsp;&amp;nbsp; 现今，大多数人会将软件开发视为一项创造性甚至艺术性的工作，目标是使开发出的软件不仅功能强大，而且在某些方面出色、有用且设计良好。然而，IT 专业人员不时被要求扮演“执行者”的角色，这更类似于爵士音乐家。一个出色的爵士音乐家可以选择符合</description>
    <pubDate>2008-06-15</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>清理 Ubuntu 系统的 5 个提示</title>
    <link>/html/linux/SHELL/20080613/66793.html</link>
    <description>岁末将至，为了辞旧迎新，进行大扫除总是应该的。对于爱机而言，经过一年的辛苦工作，是否也到了该清理的时候呢？如果你是一位 Ubuntu 系统用户，那么以下介绍的 5 个提示，可能会对你有所帮助。提示 1：清理残余的配置文件一般而言，当我们从 Ubuntu 系统中删除了一个</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Bash 使用技巧大补贴</title>
    <link>/html/linux/SHELL/20080613/66792.html</link>
    <description>Bash 是我们经常与之打交道的 Shell 程序，本文针对其使用技巧进行了搜罗。相信在你看过这些内容之后，定会在 Bash 的世界里游刃有余。    从历史中执行命令    有时候，我们需要在 Bash 中重复执行先前的命令。你当然可以使用上方向键来查看之前曾经运行过的命令。但</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>实用的一行 Linux 命令</title>
    <link>/html/linux/SHELL/20080613/66791.html</link>
    <description>下面这些 Linux 命令都只有一行，虽然简短，但却非常实用。如若善于使用它们，定会给你的 Linux 使用过程带来便利。其中包括创建存档文件、递归查找文件内的字符串、搜索并替换文件里的内容、查看磁盘及目录占用情况等。    创建存档文件    tar -czpf folder_name.tar</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>一条命令安装 Firefox 3 Beta 3</title>
    <link>/html/linux/SHELL/20080613/66781.html</link>
    <description>前些天，Firefox 发布了 3.0 Beta 3。若是你想要知道这个最新版本的网络浏览器究竟有什么过人之处，何不亲自试试？Tombuntu blog 总结了一个实用的小技巧，你只需一条命令即可安装 Firefox 3 Beta 3，很是方便。

要将 Firefox 3 Beta 3 安装到你的 Linux 系统，首先，</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>从命令行发布 Twitter 消息</title>
    <link>/html/linux/SHELL/20080613/66780.html</link>
    <description>你用什么方式发布 Twitter 消息？从 Twitter 网站，还是 Twitter 客户端？Download Squad 介绍了一个从命令行发布 Twitter 消息的实用技巧，想必惯用命令行的朋友会喜欢。要使用该技巧，我们需要一个名为 curl 的命令行工具。如果在你的 Linux 系统中无法找到 curl，可</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>关于linux下的复制命令cp，文件覆盖时…</title>
    <link>/html/linux/SHELL/20080613/66779.html</link>
    <description>cp -R -f source target

cp命令默认是不会提示overwrite?的，但是cp的-i选项会提示，而一般Linux的起动文件~/.bashrc中会把cp命名成

alias cp='cp -i'

这样在Linux下输入cp命令实际上运行的是cp -i，加上一个&amp;ldquo;&amp;rdquo;符号就是让此次的cp命令不使用别名(cp -i</description>
    <pubDate>2008-06-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>shell脚本的编缉、存储、执行</title>
    <link>/html/linux/SHELL/20080607/66638.html</link>
    <description>编缉工具：vi gedit ee leafpad vim很多
存储为*.sh文件
执行:$ sh *.sh # sh *.sh
chmod permission your-script-name

Examples:
$ chmod +x your-script-name
$ chmod 755 your-script-name
例子：
######ginfo.sh start#########
#
#
# Script to print user infor</description>
    <pubDate>2008-06-07</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux 系统学习之shell脚本学习</title>
    <link>/html/linux/SHELL/20080607/66637.html</link>
    <description>1、：（冒号的妙用）

: ${username=`whoami`} #当作占位符
: ${HOSTNAME?} ${USER?} ${MAIL?} #评估参数是否设置
: &amp;gt; data.xxx #文件&amp;quot;data.xxx&amp;quot;现在被清空了，这个和 cat /dev/null &amp;gt; data.xxx的作用是一样的，但是不会产生新进程，因为冒号：是一个</description>
    <pubDate>2008-06-07</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell学习：uniq命令使用方法介…</title>
    <link>/html/linux/SHELL/20080602/66573.html</link>
    <description>uniq命令的作用：显示唯一的行，对于那些连续重复的行只显示一次！&amp;nbsp;接下来通过实践实例说明：&amp;nbsp;[root@stu100 ~]# cat testboy took bat homeboy took bat homegirl took bat homedog brought hat homedog brought hat homedog brought hat home&amp;nbsp;看test文</description>
    <pubDate>2008-06-02</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell学习：uniq命令使用方法介…</title>
    <link>/html/linux/SHELL/20080522/66124.html</link>
    <description>uniq命令的作用：显示唯一的行，对于那些连续重复的行只显示一次！ 接下来通过实践实例说明： [root@stu100 ~]# cat test boy took bat home boy took bat home girl took bat home dog brought hat home dog brought hat home dog brought hat home 看test文件的内容</description>
    <pubDate>2008-05-22</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>LINUX下用SHELL脚本执行带输入输出参…</title>
    <link>/html/linux/SHELL/20080518/65924.html</link>
    <description>存储过程 myproc(in_num in number,out_num out number) sql脚本模板mysql.sql { var nret number; execute :nret := 0;--初始化 call myproc(in_code,:nret)--执行存储过程，in_code会被替换掉 / select 'retcode[' || :nret || ']retcode' from dual--显示结果 / qui</description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>个性化你的shell提示符</title>
    <link>/html/linux/SHELL/20080518/65923.html</link>
    <description>shell大家都用过，不过shell提示符是可以自定义的 你先看看 $echo$PS1 会出现一对字符串，这个就是你的shell提示符的设置，在deb刚安装好的时候，安装了zhcon，提示符就变成了bash-2.05$，让我很不爽，不知道谁在什么机器上操作什么，连起码的当前工作目录都没有 来，</description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Colourshell：给 shell 命令着色</title>
    <link>/html/linux/SHELL/20080518/65922.html</link>
    <description></description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>fish－用户友好的 Shell</title>
    <link>/html/linux/SHELL/20080518/65921.html</link>
    <description>fish 是一个用户友好的命令行外壳程序，可用于如 Linux 这样的 Unix 类操作系统中。fish 当前具有语法高亮显示、高级的 Tab 键自动补完、可找到的帮助、修订的外壳语法、以及其他许多特性。 fish 的最新版本为 1.21.11，于上月 24 日发布，它已经被包含在许多流行的 Li</description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>bash 使用技巧</title>
    <link>/html/linux/SHELL/20080518/65920.html</link>
    <description>1.编辑/etc/bash.bashrc，启用下面3行： if[-f/etc/bash_completion];then ./etc/bash_completion fi 2.载入/etc/bash_completion xxd@locdev:~$./etc/bash_completion 你会发现在shell中按Tab键的不同的，如试一试：sudoapt-g[Tab]，发现了什么？它已经帮你自动补完了</description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>利用top取某个进程的CPU的脚本</title>
    <link>/html/linux/SHELL/20080518/65919.html</link>
    <description>#/bin/sh Max_CPU=0 Avg_CPU=0 Total_Time=1 Process=$1 Interval=$2 #checktheparameters if[$#-ne2];then echo Usage:$0ProcessNameInterval exit fi LogFile= Per.txt echo `date` $LogFile whilesleep$Interval do top-d1-n1|grep$Process|grep-vgrep|awk ' {print</description>
    <pubDate>2008-05-18</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>不用再输入密码一条命令增加一个用户…</title>
    <link>/html/linux/SHELL/20080505/65538.html</link>
    <description>命令行下增加用户，会提示输入 密码 ，很烦人，可以用下面的方法来做： Shellecho [password] | pw useradd -n [username] -g [group] -m -s /bin/csh -h 0 比如： #echo 1234 | pw useradd -n bsdlover -g wheel -m -s /usr/local/bin/bash -h 0 这样就可以添加一个密</description>
    <pubDate>2008-05-05</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Awk 中变量作用域的问题</title>
    <link>/html/linux/SHELL/20080503/65429.html</link>
    <description>本文从两个错误的例程开始，提出 Awk 中全局变量污染的现象，并分析其发生的原因。接下来，针对 Awk 变量作用域的特点，提出两种避免全局变量污染的常用方法，引出 Awk 中定义局部变量的方法，并提出修改过后的代码。然后，通过 Awk 的变量调试功能，提出修改过后代码</description>
    <pubDate>2008-05-03</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Shell编程基础：单引号和双引号含义区别</title>
    <link>/html/linux/SHELL/20080503/65392.html</link>
    <description>单引号和双引号都能关闭shell对特殊字符的处理。不同的是，双引号没有单引号严格，单引号关闭所有有特殊作用的字符，而双引号只要求shell忽略大多数，具体的说，就是①美元符号②反引号③反斜杠，这3种特殊字符不被忽略。 不忽略美元符号意味着shell在双引号内部也进行</description>
    <pubDate>2008-05-03</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux下使用Shell脚本改变当前工作路径</title>
    <link>/html/linux/SHELL/20080428/65273.html</link>
    <description>Shell 脚本执行有三种方法 bash 脚本名 sh 脚本名 chmod +x 脚本名 使用下面语句测试 #a.sh(扩展名可不要)cd /pwdecho &quot;complete&quot; 然而具体执行时候，发现过程中改变过路径，然而最终结果是并没有改变路径。 $ bash a.sh/complete$ 原因分析： 执行脚本时候，只是在当</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Shell编程：Linux系统环境程序设计之路</title>
    <link>/html/linux/SHELL/20080428/65272.html</link>
    <description>函数 别的高级语言都有函数的感念，当然shell编程也有这个概念，当写一个比较大型的shell程序的时候，如果没有函数，则会到处都是重复的代码。当然也可以调用别的脚本，但是速度会比较慢。所以函数是必不可少并且非常重要的一个东西。 定义函数的格式function_name(){.</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell元字符知识笔记</title>
    <link>/html/linux/SHELL/20080428/65271.html</link>
    <description>Linux Shell元字符知识笔记： ^ 行首定位符 /^love/ 匹配以love 开头的行 $ 行尾定位符 /love$/ 匹配以love结尾的行 。 匹配单个字符 /l……e/ 匹配包含一个l 后跟2个字符 再跟一个e的行 * 匹配0个或多个位于*号前的字符 / *love/ 匹配零个或多个空格后跟love的行 匹配</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>在Shell中执行vi/cp/mv时自动备份源文件</title>
    <link>/html/linux/SHELL/20080428/65270.html</link>
    <description>以下脚本把所有要编辑的源文件备份到/bak目录下，并且所有的路径位置保持不变，比如vii /etc/hosts，则把/etc/hosts复制到/bak/etc/hosts. # cat /sh/vii #!/usr/bin/bash #判断源文件是否存在，存在才执行备份操作 if ;then #创建函数，可实现任意键继续 #如果你的机</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell中强大的正则grep</title>
    <link>/html/linux/SHELL/20080428/65269.html</link>
    <description>Linux grep命令 用‘grep’搜索文本文件 如果您要在几个文本文件中查找一字符串，可以使用‘grep’命令。‘grep’在文本中搜索指定的字符串。 假设您正在‘/usr/src/linux/Documentation’目录下搜索带字符串‘magic’的文件： $ grep magic /usr/src/linux/Documentat</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell脚本Ldd命令原理使用方法</title>
    <link>/html/linux/SHELL/20080428/65268.html</link>
    <description>1、首先ldd不是一个可执行程序，而只是一个shell脚本 2、ldd能够显示可执行模块的dependency，其原理是通过设置一系列的环境变量，如下：LD_TRACE_LOADED_OBJECTS、LD_WARN、LD_BIND_NOW、LD_LIBRARY_VERSION、 LD_VERBOSE等。当LD_TRACE_LOADED_OBJECTS环境变量不为空</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>保持进程在Shell退出后能继续运行方法</title>
    <link>/html/linux/SHELL/20080428/65267.html</link>
    <description>当在shell中运行一些监视工具或磁盘检查等任务时，往往需要很长时间，此时如果用户logout，这些程序都会收到SIGHUP信号从而终止，显然这样是不行的。 程序nohup和bash内建命令disown可以解决此问题。 1.nohup nohup 运行该指令之后，command在执行时将会忽略SIGHUP信号</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux Shell下后台运行及其前台的转换</title>
    <link>/html/linux/SHELL/20080428/65266.html</link>
    <description>当用bash启动一个程序，你可以用在程序后加，实现程序在后台运行； 例如： emacs 但如果你忘了输入；但你又不想把程序停止后重新启动； 你可以这么做： 按Ctrl + Z暂停前台工作，比如前面提到的Emacs； 然后用jobs命令查看当前bash一共启动了多少程序，你可以看到你的e</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Bash的另类shell Makefile</title>
    <link>/html/linux/SHELL/20080428/65265.html</link>
    <description>无赖对 Makefile 不太熟悉，为了编译数量不断增加的独立的 .cpp 文件，只有想个另类的办法了。考虑了好几种方法，最后以 Makefile为壳，用 bash 暗渡陈仓。 Makefile 如下： QUOTE： main: null.outnull.out:./compile.sh clean: rm *.out compile.sh 就是实际执行 mak</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>shell下的编程vim+ctags+taglist （ubuntu）</title>
    <link>/html/linux/SHELL/20080428/65264.html</link>
    <description>编辑器：vi需要添加的vi插件：ctags ， taglist ctags ： ctags.sourceforge.net // 生成代码索引Taglist ：vim-taglist.sourceforge.net//代码浏览 首先是要在网上下载这两个插件，编译安装 1.ctags: download ctags-5.6.tag.gz tar xzvf ctags-5.6.tag.gz cd ctags-5</description>
    <pubDate>2008-04-28</pubDate>
    <category>SHELL编程</category>
    <author>秩名</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Linux操作系统下简单的系统文件校验方…</title>
    <link>/html/linux/SHELL/20080213/64279.html</link>
    <description>写一个简单的脚本，对特定系统文件定期做一个完整性校验，使用Linux下的md5sum工具对特定目录的文件进行MD5校验。 #!/bin/bash # Write By LouLanCN@163.com md5sum=/usr/bin/md5sum md5f=SysCheck-`date +%F`.md5 fs=/etc /etc/sysconfig /bin /sbin /usr/bin /usr/sb</description>
    <pubDate>2008-02-13</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>用sed实现文件反转</title>
    <link>/html/linux/SHELL/20071225/60941.html</link>
    <description>为了方便讨论我们假定我们要反转的文件a.txt内容如下(三行)： hello world sed 解决： sed -e '1!G;h;$!d' a.txt b.txt 解释如下： 实现的思想有些别扭：把保留空间（临时缓冲区）的内容附接到当前行的模式空间，删除当前行模式空间，如此往复，直到最后一行，到最后一</description>
    <pubDate>2007-12-25</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Sed详解</title>
    <link>/html/linux/SHELL/20071225/60940.html</link>
    <description>sed 用法 1. 是一个非交互性文本流编辑器。它编辑文件或标准输入导出的文本拷贝。 2. 通过行号或正则表达式指定要改变的文本行 3. sed 不与初始文件打交道，而只与它的一个拷贝打交道，如果操作结果没有重定向到一个文件，那么将输出到屏幕。 调用方式： a. 命令行方式</description>
    <pubDate>2007-12-25</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Bash实例，第一部分</title>
    <link>/html/linux/SHELL/20071030/50524.html</link>
    <description>Bash 实例，第一部分 Bourne again shell (bash) 基本编程 Daniel Robbins (drobbins@gentoo.org), 总裁兼 CEO, Gentoo Technologies, Inc. 2000 年 3 月 01 日 通过学习如何使用 bash 脚本语言编程，将使 Linux 的日常交互更有趣和有生产力，同时还可以利用那些已熟悉</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Bash实例，第二部分</title>
    <link>/html/linux/SHELL/20071030/50523.html</link>
    <description>Bash 实例，第 2 部分 更多的 bash 基本编程 级别： 初级 Daniel Robbins (drobbins@gentoo.org), 总裁兼 CEO, Gentoo Technologies, Inc. 2000 年 4 月 01 日 在前一篇 bash 的介绍性文章中，Daniel Robbins 为您讲解了脚本语言的一些基本元素和使用 bash 的原因。在</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>Bash实例，第三部分</title>
    <link>/html/linux/SHELL/20071030/50522.html</link>
    <description>Bash 实例，第 3 部分 探讨 ebuild 系统 Daniel Robbins (drobbins@gentoo.org), 总裁兼 CEO, Gentoo Technologies, Inc. 2000 年 5 月 01 日 Daniel Robbins 在其最后一篇 Bash实例文章中详细讲述了 Gentoo Linux ebuild 系统，这个展示 bash能力的极佳范例。循序渐进</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>解决mv移动目录时出的问题一例</title>
    <link>/html/linux/SHELL/20071030/50521.html</link>
    <description>问题： 当前目录下有个目录bak2，需要将bak2中的所有内容移动到当前目录下，然后删除bak2，使用 mv -f bak2/* . 系统报错，原因是bak2中的目录admin，在当前目录下也有也有，所以报错 原因分析： mv 用 rename() 系统调用 解决方法1： cp -Rlf bak2/* . rm -rf bak2 解</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>for循环在脚本中的应用</title>
    <link>/html/linux/SHELL/20071030/50520.html</link>
    <description>批处理中用FOR循环实现windows补丁自动安装 测试程序 @ECHO OFF REM 放在补丁目录下直接运行 @IF NOT EXIST 1 MKDIR 1 2 3 4 @FOR %%E IN (*.exe) DO @( (@FINDSTR UPDFILE %%E @MOVE %%E 1) || (@FINDSTR _SFX_CAB_EXE_PACKAGE %%E @MOVE %%E 2) || (@FINDSTR update.</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>
<item>
    <title>一个把IP地址转化为长整数的脚本</title>
    <link>/html/linux/SHELL/20071030/50519.html</link>
    <description>有些时候，很多人在pub网址的时候会使用一个长整数，这样相对来说IP地址不易为被别人记住，但一样可以在flashfxp等工具中使用，即使是ping也支持这种写法，如：ping 16843009 PING 16843009: (1.1.1.1): 56 data bytes 不过我写这个脚本的最初目的，只是为了用较短的代</description>
    <pubDate>2007-10-30</pubDate>
    <category>SHELL编程</category>
    <author>shell</author>
    <comments>Linux宝库</comments>
</item>

</channel>
</rss>
