<?xml version="1.0" encoding="gbk"?>
<rss version="2.0">
<channel>
 <title><![CDATA[求助：运行应用程序的&#39;./&#39;和‘.空 ..]]></title>
 <link><![CDATA[http://121.40.142.80/read.php?tid=14016]]></link>
 <description><![CDATA[Latest 20 replies of 求助：运行应用程序的&#39;./&#39;和‘.空 ..]]></description>
 <copyright><![CDATA[Copyright(C) ]]></copyright>
 <generator><![CDATA[PHPWind Forums by PHPWind Studio]]></generator>
 <lastBuildDate><![CDATA[Mon, 27 Jul 2026 19:28:00 +0000]]></lastBuildDate>
  <image>
 <url><![CDATA[images/rss.gif]]></url>
 <title><![CDATA[PHPWind Board]]></title>
 <link><![CDATA[http://121.40.142.80]]></link>
 <description><![CDATA[]]></description>
  </image>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[hello 与 ./hello 的区别时， hello会有系统PATH路径中（比如 /bin, /usr/bin/等）查找hello程序并运行，由于你并没有将hello程序放在这些位置，所以当然就会找不到所以运行不了了， 而 ./hello 明确是执行当前目录下的 hello 程序，而hello是在当前目录存在的，所以可以运行]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=14016#104087]]></link>
 <author><![CDATA[hacker]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 21 Jul 2011 05:08:14 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[回 1楼(hacker) 的帖子]]></title>
 <description><![CDATA[hacker大侠，您好。我现在还有个疑问，如下：
我编写了一个最简单的应用程序hello.c，让串口打印些信息即可。然后，在超级终端用&#39;./hello&#39;和&#39; .&nbsp;&nbsp;hello&#39;运行的结果不一样，后者‘. 空格’无法运行应用程序。麻烦hacker大侠解释下。谢谢]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=14016#103996]]></link>
 <author><![CDATA[qiguibao]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Thu, 21 Jul 2011 00:07:31 +0000]]></pubdate>
</item>
<item>
 <title><![CDATA[]]></title>
 <description><![CDATA[./test&nbsp;&nbsp; 执行当前目录下的 test 程序，如果 test 程序内改变环境变量不会影响到当前shell会话
. ./test&nbsp;&nbsp;&nbsp;&nbsp;仍然是 执行当前目录下的 test 程序，但是 test 程序内改变环境变量，会在当前会话中生效

-------

示例：

假设test是一个脚本，内容为：
export AAA=hello

------------

./te ..]]></description>
 <link><![CDATA[http://121.40.142.80/read.php?tid=14016#103980]]></link>
 <author><![CDATA[hacker]]></author>
 <category><![CDATA[Linux技术交流区]]></category>
 <pubdate><![CDATA[Wed, 20 Jul 2011 15:10:27 +0000]]></pubdate>
</item>
</channel></rss>