Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.co   
   !news.comcast.com.POSTED!not-for-mail   
   NNTP-Posting-Date: Fri, 19 Jan 2007 16:38:52 -0600   
   From: Tom Clydesdale    
   Subject: Re: New Free Pascal Program not recognized   
   Date: Fri, 19 Jan 2007 15:39:02 -0700   
   User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table (Debian GNU/Linux))   
   Message-Id:    
   Newsgroups: alt.os.linux.ubuntu   
   References:    
   MIME-Version: 1.0   
   Content-Type: text/plain; charset=ISO-8859-1   
   Content-Transfer-Encoding: 8bit   
   Lines: 30   
   NNTP-Posting-Host: 67.174.112.229   
   X-Trace: sv3-4iQn3R6SN/YrEQB46Ii7uJXIYB3324LVu2/nSi7QLDYrnAXXGKL   
   +/G9t72Wkqahi3LZE6x7OrH5QQ8!K5RLWJ57aI2ODOqKVO+0btPILRldcWoo7w3m   
   NT+sVR2eeRQxY13biVpPjgNmlT1mW1K+qDQhl90!MxB4TEok5uBTc6j1Eg==   
   X-Complaints-To: abuse@comcast.net   
   X-DMCA-Complaints-To: dmca@comcast.net   
   X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers   
   X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint   
   properly   
   X-Postfilter: 1.3.32   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:8466   
      
   On Fri, 19 Jan 2007 20:37:41 +0000, ERACC wrote:   
      
   > On Fri, 19 Jan 2007 12:40:19 -0700, Tom Clydesdale wrote:   
   >    
   >> Question: where can I find the logic regarding preceeding an executable   
   >> file with "./"?   
   >    
   > IIRC the idea is that executables go in specific places in your $PATH and   
   > are not found if not in that path. The './' tells the shell you are using   
   > to look in the current directory, '.', for the file to execute you append   
   > the '/' because in unix file systems files prepended with a '.' are   
   > "hidden" so the '/' is used to differentiate. Searching in the current   
   > directory, '.', is not done by default for security reasons.   
   >    
   > For fun you could place your executable one directory up and use '../' to   
   > run it. The '.' and '..' are file system place holders for current   
   > directory, '.', and directory one level up, '..'. If you want to know more   
   > about the Linux directory structure go have a look at:   
   >    
   > http://www.tuxfiles.org/linuxhelp/linuxdir.html   
   >    
   > Use this web search for more on unix $PATH and executables:   
   >    
   > http://preview.tinyurl.com/28d6vk   
   >    
   > Gene (e-mail: gene \a\t eracc \d\o\t com)   
      
   Gene, Many thanks for the info and leads.   
   Tom   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   
|